Teaching Rajasthan Basic Computer Instructor 2021 Mock Test Programming and Data Structure Programming in C
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;