Consider the following code. (Assume that all variables are properly declared.)cin >> ch;while (cin){  cout > ch;}This code is an example of a(n) ____ while loop.

A. sentinel-controlled
B. flag-controlled
C. EOF-controlled
D. counter-controlled


Answer: C

Computer Science & Information Technology

You might also like to view...

The API for a class also lists the known immediate subclasses of that class.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

The ____ class provides a connection between a program and a file residing on a secondary memory device.

A. StreamTokenizer B. Reader C. Writer D. File

Computer Science & Information Technology

Describe 802.1x authentication.

What will be an ideal response?

Computer Science & Information Technology

To change the spelling options in the Word Options dialog box, click ____ in the left pane.

A. Display B. Proofing C. Save D. Add-Ins

Computer Science & Information Technology