What is the final value of a and b after execution of given code { int a,b=15;a=b*30 >500?-- b:++b; } *
Answers
Answered by
1
Answer:
a = 450. b = 16
Explanation:
int a,b=15; a=() b=15
a=b*30>500?--b:++b. a = 15×30 = 450.
450<500. b=b+1 b=16
Hope it helps
FOLLOW ME
Similar questions