The program segment

int counter = 1;
do {
printf("%i ", counter);
} while (++counter <= 10);

will ________.

a) print the numbers 1 through 11
b) print the numbers 1 through 10
c) print the numbers 1 through 9
d) cause a syntax error

b) print the numbers 1 through 10

Computer Science & Information Technology

You might also like to view...

An Input mask controls what can and cannot be entered in a field

Indicate whether the statement is true or false

Computer Science & Information Technology

In order for a change to the width of the notes placeholder to effect all slides, the width needs to be changed in the ________

A) Slide Master B) Handout Master C) Presentation Master D) Notes Master

Computer Science & Information Technology