1.

Here is a segment of a program x=1; y=1; if(n>0) x=x+1; y=y-1; what will be the values of x and y if n=1.

A. x=1, y=1
B. x=0, y=2
C. x=2, y=1
D. x=2, y=0
Answer» E.


Discussion

No Comment Found

Related MCQs