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

Home » C++ » 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
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

(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
Level: Beginner Category: new_delete
[Posted by: | ]



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: | ]