When the __________ operator fails to allocate memory, C++ throws a bad_alloc exception.

a. new
b. alloc
c. catch
d. None of these


a. new

Computer Science & Information Technology

You might also like to view...

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

1. The read command is used to read input from the keyboard. 2. The special variable $0 holds the user ID of the user. 3. The shell program options v and x are used for debugging the shell scripts. 4. There are 10 special (positional) variables, named 1 to 10. 5. The test command is a shell built in command that evaluates its argument and returns true or false.

Computer Science & Information Technology

Which optional methods would you support for a list that, once initialized, can have elements removed but none added?

What will be an ideal response?

Computer Science & Information Technology

You can create a hyperlink to a custom show from any slide within the presentation

Indicate whether the statement is true or false

Computer Science & Information Technology

The _______ bar provides information such as cell mode and status of filters.

A. title B. status C. View D. Entry

Computer Science & Information Technology