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,
2 months ago
English,
2 months ago
English,
2 months ago
Computer Science,
4 months ago
Biology,
10 months ago
CBSE BOARD XII,
10 months ago