What does the 'new' operator return when memory allocation fails in C++?
A. Garbage value
B. Exception
C. nullptr
D. 0
Answer: Option C
A. Garbage value
B. Exception
C. nullptr
D. 0
Answer: Option C
What does the 'cin' object in C++ represent?
A. File output stream
B. File input stream
C. Standard output stream
D. Standard input stream
Join The Discussion