C - Operators - Discussion

You Are Here :: Home > C > Operators - Discussion

 



Q.

What will be the value of x after the following section of code executes:

int x = 5;
if (x > 3)
x = x - 2;
else
x = x + 2;

A. 1 B. 3
C. 5 D. 7

Answer: Option B
Explaination:

 


No Explanation



Discussion

Your Comments Goes here...
NameDiscussion