Vidyalelo
C Programming · Q142

C Fundamentals

Programming · C Programming · question 142

Q142

What will be the output of the following C code? #include void main() int a = -5; int k = (a++, ++a); printf("%d ", k);

A.
-3
Answer
B.
-5
C.
4
D.
Undefined

Answer: Option A

Solution

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