Vidyalelo
C Programming · Q58

C Fundamentals

Programming · C Programming · question 58

Q58

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

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

Answer: Option C

Solution

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