Write the value that will be stored in variable num and sum after execution of following code : int sum = 0 , num = -2; do [ sum = sum + num ; num++; ] while (num<1);
rickman28:
is that -2
Answers
Answered by
0
num:1
sum:-3
after execution these r values
sum:-3
after execution these r values
Similar questions