Home / MCQ Bank / Computer
Computer Fundamentals Difficulty: Medium

What will be the output of the following C code? #include <stdio.h> void main() { int y = 3; int x = 5 % 2 * 3 / 2; printf("Value of x is %d", x); }

Select the correct option to test your answer:

More Computer Questions

'W'h'i'c'h' 'e'l'e'm'e'n't' 's'h'o'w's' 'c'o'm'p'l'e't'i'o'n' 'p'r'o'g'r'e's's' 'o'f' 'a' 't'a's'k'?' What is the result of the expression 5 / 2 in C? What is the advantage of using asynchronous programming in C#? What is the function of the memory object? Which of the following is an example of autoboxing in Java?