Q.

What is the value of x after this statement, assuming the initial value of x is 5? ‘If x equals to one then x=x+2 else x=0’.

A. 1
B. 3
C. 0
D. 2
Answer» C. 0
1.6k
0
Do you find this helpful?
1

View all MCQs in

Discrete Mathematics

Discussion

No comments yet

Related MCQs