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

1
x –= 2; is the same as x = x – 2;
2
x *= 2; is the same as x =x*2;
3
x %= 2; is the same as x = x/2;
4
x /= 2; is the same as x = x/2;

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation