One way to prevent the Enter key from being accepted as a legitimate character when using the get() method is to follow the cin.get() input with a call to ____.

A. cin.peek()
B. cin.putback()
C. cout.put()
D. cin.ignore()


Answer: D

Computer Science & Information Technology

You might also like to view...

What is the destination address for the FTP server?

What will be an ideal response?

Computer Science & Information Technology

Which of the following can be used to help ensure that all devices have the requisite security?

A. SOE B SLA C. MOU D. ICA

Computer Science & Information Technology

All the versions of Internet Explorer before IE9 do not support element node properties.

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

Computer Science & Information Technology

What type of network does not require a network operating system, in which each computer is considered equal?

A. Client-server network B. Peer-to-peer network C. Storage area network (SAN)

Computer Science & Information Technology