Which type of exception is thrown if a call to the new operator fails?

a. ArithmeticError
b. DivideByZero
c. bad_alloc
d. MemoryError

c. bad_alloc

Computer Science & Information Technology

You might also like to view...

What does "establish forensically sterile conditions" mean in the context of computer-crime investigation?

a. Maintain secrecy about the developments at the forensic lab. b. Ensure that the members of the staff have no criminal history. c. Keep the room for forensic tests clean and hygienic. d. Use new media that have been forensically wiped.

Computer Science & Information Technology

MC Method________specifies the attribute of an Element node.

a) setAttribute. b) setAttributeNode. c) setAttr. d) Both a and b.

Computer Science & Information Technology