Why should you use getline()for string data?

A. It removes the spaces between the words.
B. It reads all characters until the Enter key.
C. getline()isn’t made for strings.
D. It works the same as cin >>.


B

Computer Science & Information Technology

You might also like to view...

How can you sharpen an edge of a mask?

What will be an ideal response?

Computer Science & Information Technology

You can use a _______ to share information between an AD DS domain and any non-Windows realm that supports Kerberos version 5 (V5), such as UNIX

a. Forest b. External c. Realm d. Shortcut

Computer Science & Information Technology

The stdio.h file contains the definition of EOF.

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

Computer Science & Information Technology

?Since desktop screens are often wider than those for other devices, designing for a desktop viewport can only use single-column layout.

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

Computer Science & Information Technology