Select the false statement. The new operator:

a. Can attempt to allocate as much memory as the programmer requests.
b. Returns a pointer to a location in memory.
c. Can indicate failure differently on different compilers.
d. Throws a bad_alloc exception regardless of what function is registered with set_new_handler.

d. Throws a bad_alloc exception regardless of what function is registered with set_new_handler.

Computer Science & Information Technology

You might also like to view...

Repetitive marks on laser printer may have different causes

Indicate whether the statement is true or false

Computer Science & Information Technology

Which statement is false?

a. Classes are reusable software components. b. A class is to an object as a blueprint is to a house. c. Performing a task in a program requires a method. d. A class is an instance of its object.

Computer Science & Information Technology