Which of the following is the odd one out?
A. j = j + 1;
B. j =+ 1;
C. j++;
D. j += 1;
Answer:B
Which of the following is the odd one out?
A. j = j + 1; B. j =+ 1; C. j++; D. j += 1;
Explanation: j=+1 is odd one out as rest all means incrementing the value of variable by 1.