In programming, what is the purpose of a loop?
ATo execute a block of code multiple times
BTo terminate the program
CTo define a function or sub program
DTo handle exceptions
ATo execute a block of code multiple times
BTo terminate the program
CTo define a function or sub program
DTo handle exceptions
Related Questions:
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;
}