Question: returns tie lekt character 13 on the stream, but does not remove it from the stream's buffer. a. peek () C. get() d. putback() put
returns tie lekt character 13 on the stream, but does not remove it from the stream's buffer. a. peek () C. get() d. putback() put () The putback() function places a character back on the stream so read a. first b. last 14. c. next d. next-to-last 15. vent the Enter key from being accepted as a legitimate character when using the One way to pre 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 () 16. The process of generating and passing an exception at the point the error was detected is eferrd to s to as error handling throwing an exception a. exception handling catching an exception c. b. d. 17 of the statements within a try block should be capable of throwing an exception. a. None b. At least one c. More than one d. All 18. A try block must be followed by one or more blocks. a. error b. throw c. exception d. catch 19. In exception handling, multiple catch blocks can be provided as long as each catch block catches a. an error a unique exception at least one exception c. b. a unique data type d. 20. The first step in the input data validation process for numerical data is to ensure that the data is a. b. of the correct length complete contained within one file of the correct type c. d
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
