Vidyalelo
C Programming · Q123

C Fundamentals

Programming · C Programming · question 123

Q123

What will be the output of the following C code? #include int main() int a = 10; if (a == a--) printf("TRUE 1 "); a = 10; if (a == --a) printf("TRUE 2 ");

A.
TRUE 1
B.
TRUE 2
C.
TRUE 1     TRUE 2
D.
Compiler Dependent
Answer

Answer: Option D

Solution

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