Interview Questions on New & Delete in C++: 5
Question: 1
(A) GC++
(B) KDevelop
(C) GIT
(D) Valgrind
Compiler
Level: Expert Category: new_delete
[Posted by: | ]
Question: 2
(A) Heap
(B) Stack
(C) Address Space
(D) Depends on Compiler
Compiler
Level: Expert Category: new_delete
[Posted by: | ]
Question: 3
Question: 4
(A) Program runs without any error
(B) Compilation Error
(C) Runtime error (Segmentation fault)
(D) None of the above
Compiler
Level: Beginner Category: new_delete
[Posted by: | ]
Question: 5
(A) bad_exception
(B) overflow_error
(C) out_of_range
(D) bad_alloc
Compiler
Level: Practitioner Category: new_delete
[Posted by: | ]
C++ Online Test
Compile C++ code here
Browse C++ Categories
Loops Conditional Functions Operators Structure Enum Data Types Inheritance Pointers Classes & Objects Vtable Type Casting New & Delete Namespaces Virtual Functions Abstract Class STL Singleton Class Exceptions C++11 C++17 C++20 Time & Space Complexity othersSwitch to C Questions