[ Read the following questions carefully and choose the right answer. ]
Let x be an integer which can take a value of 0 or 1 . The statement if x ==0) x=1; cos x = 0, is equivalent to which one of the following ?
A x = 1 + x;
B x = 1 - x;
C x = x - 1
D x = 1% x;
Solution
Correct Answer: Option B