What will be the output from the program segment int a0b10c40 a b c b
What will be the output of the variable 'a'?
int a=0,b=10,c=40; a = --b + c++ + b; System.out.println(" a = " + a);
206 Likes
a = 58
a = --b + c++ + b⇒ a = 9 + 40 + 9⇒ a = 58
Answered By
109 Likes