Given the following code, what is the final value of i?

int i;
for(i=0; i<=4;i++)
{
cout << i << endl;
}
a. 3
b. 4
c. 5
d. 0

c. 5

Computer Science & Information Technology

You might also like to view...

What is the correct time that should be on a clock or watch when it is being photographed?

What will be an ideal response?

Computer Science & Information Technology

A (n) __________is a logical subgroup within a domain

a. Site b. Organizational unit c. Tree d. Child

Computer Science & Information Technology