Evaluate the given expression when the value of a=2 and b=3 b*=a++-++b+ ++a; System.out.println("a="+a) System.out.println("b="+b);
Advertisements
Question
Evaluate the given expression when the value of a=2 and b=3
b*=a++-++b+ ++a;
System.out.println("a="+a);
System.out.println("b="+b);One Line Answer
Advertisements
Solution
a=4, b=6
shaalaa.com
Tokens
Is there an error in this question or solution?
