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...

Each XML document is based on a(n) ____ set.

A. indexed B. binary C. unary D. character

Computer Science & Information Technology

Which technology can use a pad reader to get product code dates and other information?

A. RFID B. Bluetooth C. WiMax D. GSM

Computer Science & Information Technology

You can edit a linked file in InDesign using the ____ button on the Links panel.

A. Edit Linked B. Edit Original C. Edit D. ReEdit

Computer Science & Information Technology

Which of the following algorithms is stable?

A. merge sort B. shell sort C. quick sort D. straight insertion sort

Computer Science & Information Technology