Q. What is the output of the Java code snippet?
Code:
int a=10, b=20; int c = a++*2; int d = --b*2; System.out.println(c +"," + d);
β
Correct Answer: (C)
20,38
int a=10, b=20; int c = a++*2; int d = --b*2; System.out.println(c +"," + d);
You must be Logged in to update hint/solution