Responsive Advertisement

Embedded Code

Following quiz provides Multiple Choice Questions (MCQs) related to Go. These type of question help you to know your knowledge level in golang and its help you in interview quiz.
 

You will have to read all the given answers and click over the correct answer. 

1. What is the output of the below c code?

#include<stdio.h> 
main() 
{
   int x = 5;
   
   if(x=5)
   { 
      if(x=5) printf("Fast");
   } 
   printf("learning");
}




2. What is the output of the below c code?

#include<stdio.h> 
main() 
{
   int x = 5;
   
   if(x=5)
   { 
      if(x=5) printf("Fast");
   } 
   printf("learning");
}




#!/bin/python3

import math
import os
import random
import re
import sys

# Complete the solve function below.
def solve(s):

if __name__ == '__main__':
    fptr = open(os.environ['OUTPUT_PATH'], 'w')

    s = input()

    result = solve(s)

    fptr.write(result + '\n')

    fptr.close()

Post a Comment

0 Comments

Embedded Code