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
Science,
1 month ago
English,
1 month ago
English,
1 month ago
Computer Science,
2 months ago
Biology,
9 months ago
CBSE BOARD XII,
9 months ago