1.

What will be the final value of c in the following C code snippet? (Initial values: p = 1, q = 2, r = 1)
r += (-r) ? p : q;

A. r = 2
B. r = 3
C. r = 1
D. Syntax Error
E. None of these
Answer» B. r = 3


Discussion

No Comment Found

Related MCQs