Question

What happens if there is insufficient memory to allocate in dynamic memory allocation?

A The program crashes.
B An exception is thrown.
C The program waits until memory becomes available.
D The program continues execution without allocating memory.
Practice Next

Relevant for Exams:

Hey! Ask a query