What is the value of sum after the execution of the following code?
int sum = 0;
for (int i = -5; i<=;i++)
{
if (!i) break;
sum += i;
}
A0
B-5
C-15
D15
What is the value of sum after the execution of the following code?
int sum = 0;
for (int i = -5; i<=;i++)
{
if (!i) break;
sum += i;
}
A0
B-5
C-15
D15
Related Questions: