The statement ____ can be used in place of the longer statement cin.get(message, MAXCHARS, ‘\n').

A. cin.getline()
B. cin.getline(message, ‘\n')
C. cin.getline(message, MAXCHARS)
D. cin.getline(MAXCHARS, ‘\n')

Answer: C

Computer Science & Information Technology

You might also like to view...

The first element in an overlay must be a(n) .

a. PanelOverlayElement b. TextAreaOverlayElement c. OverlayElement d. OverlayContainer

Computer Science & Information Technology

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

1. To bind a List Box control to a column, you must set two of the controls properties: Data Source and Display Member. 2. When you make changes to a database table in one form, the changes automatically appear in other forms that connect to the same table using their own data sets. 3. SQL is a general purpose programming language, which can be used to write applications. 4. SQL does not support relational operators.

Computer Science & Information Technology