Vidyalelo
C Programming · Q142

Function

Programming · C Programming · question 142

Q142

What will be the output of the following C code? #include int main() int one = 1, two = 2; #ifdef next one = 2; two = 1; #endif printf("%d, %d", one, two);

A.
1, 1
B.
1, 2
Answer
C.
2, 1
D.
2, 2

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board