CBSE BOARD XII, asked by guddu6930, 1 year ago

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 sharashit
0
num:1
sum:-3
after execution these r values
Similar questions