Vidyalelo
C Programming · Q232

C Fundamentals

Programming · C Programming · question 232

Q232

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

A.
6
B.
1
Answer
C.
5
D.
undefined

Answer: Option B

Solution

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