- A Only A
- B Only C
- C All the three
- D Both A and C
⚠ Report ✓ Question Verified Copy Link
A student executes the following code to increase the value of a variable 'x' by 2.
He has written the following statement, which is incorrect.
x = +2;
What will be the correct statement?
A. x +=2;
B. x=2;
C. x=x+2;
Learn More MCQ Questions from ICSE Computer Application - Class - X ICSE Computer Application - Class X - 2025 SPECIMEN QUESTION PAPER