What will be the output of the following C code?

What will be the output of the following C code?

What will be the output of the following C code? mcq and its answer is provided on this page.

What will be the output of the following C code?

Que. What will be the output of the following C code?
a. Check this: Computer Science MCQs | Computer Science Books
b. #include int main() { int one = 1, two = 2; #ifdef next one = 2; two = 1; #endif printf("%d, %d", one, two); }
c. a) 1, 1
d. b) 1, 2
e. c) 2, 1
f. d) 2, 2
Answer: b
Explanation : None.


Comments