State the output of the following:
int a = 10;
a++;
++a;
System.out.println(a);
Answers
Answered by
1
Given Snippet:
int a = 10;
a++;
++a;
System.out.println(a);
Output of the Snippet:
12
Similar questions
Math,
1 month ago
Math,
1 month ago
Computer Science,
3 months ago
Biology,
9 months ago
CBSE BOARD XII,
9 months ago