Computer Science, asked by Ayushibanik, 3 months ago

State the output of the following:
int a = 10;
a++;
++a;
System.out.println(a);​

Answers

Answered by atrs7391
1

Given Snippet:

int a = 10;

a++;

++a;

System.out.println(a);​

Output of the Snippet:

12

Similar questions