1.

Which of the following is not correct in C++ ?

A. x –= 2; is the same as x = x – 2;
B. x *= 2; is the same as x =x*2;
C. x %= 2; is the same as x = x/2;
D. x /= 2; is the same as x = x/2;
Answer» D. x /= 2; is the same as x = x/2;


Discussion

No Comment Found