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

int i,j;
for(i=0;i<4;i++)
{
for(j=0;j<3;j++)
{
if(i==2)
break;
}
}
a. 3
b. 4
c. 5
d. 0

b. 4

Computer Science & Information Technology

You might also like to view...

The first time a file is saved the Save As dialog box will ALWAYS appear

Indicate whether the statement is true or false

Computer Science & Information Technology

Which of the following cable types are the MOST widely used in a corporate gigabit network scheme?

A. CAT5 B. CAT1 C. CAT3 D. CAT6

Computer Science & Information Technology