Home C C++ Java Python Perl PHP SQL JavaScript Linux Online Test Forum

Home » C++ » Interview Questions on New & Delete in C++

Interview Questions on New & Delete in C++: 5


Question: 1

(A) GC++
(B) KDevelop
(C) GIT
(D) Valgrind

Compiler Forum
Expert new_delete[Posted by: Admin | Chicago, USA]



Question: 2

(A) Heap
(B) Stack
(C) Address Space
(D) Depends on Compiler

Compiler Forum
Expert new_delete[Posted by: Admin | Chicago, USA]



Question: 3

(A) Address of memory allocated | Garbage Value
(B) Address of memory allocated | 0
(C) Address of ptr | 0
(D) Address of ptr | Garbage Value

Compiler Forum
Beginner new_delete[Posted by: Admin | Chicago, USA]



Question: 4

(A) Program runs without any error
(B) Compilation Error
(C) Runtime error (Segmentation fault)
(D) None of the above

Compiler Forum
Beginner new_delete[Posted by: Admin | Chicago, USA]



Question: 5

(A) bad_exception
(B) overflow_error
(C) out_of_range
(D) bad_alloc

Compiler Forum
Practionar new_delete[Posted by: Admin | Chicago, USA]