Vidyalelo
C++ Programming · Q30

Introduction to C++

Programming · C++ Programming · question 30

Q30

What does the 'new' operator return when memory allocation fails in C++?

A.
Garbage value
B.
Exception
C.
nullptr
Answer
D.
0

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board