Constructors and Destructors - Programs Online Exam Quiz

Constructors and Destructors - Programs GK Quiz. Question and Answers related to Constructors and Destructors - Programs. MCQ (Multiple Choice Questions with answers about Constructors and Destructors - Programs

What will be the output of the following program?

Options

A : 99

B : ASCII value of 99

C : Garbage value

D : 99.50

View Answer

Which of the following statement is correct about the program given below?

Options

A : The program will print the output India .

B : The program will print the output Bix .

C : The program will print the output IndiaBix .

D : The program will report compile time error.

View Answer

Which of the following statement is correct about the program given below?

Options

A : The program will print the output 25.

B : The program will print the output Garbage-value.

C : The program will report compile time error.

D : The program will report runtime error.

View Answer

Which of the following statement is correct about the program given below?

Options

A : The program will print the output 5.

B : The program will print the output Garbage-value.

C : The program will report compile time error.

D : The program will report runtime error.

View Answer

What will be the output of the following program?

Options

A : 1234

B : 4321

C : 12344321

D : 12341234

View Answer

Which of the following statement is correct about the program given below?

Options

A : The program will print the output 76.

B : The program will print the output 108.

C : The program will print the output garbage value.

D : The program will report compile time error.

View Answer

Which of the following constructor is used in the program given below?

Options

A : Copy constructor

B : Simple constructor

C : Non-parameterized constructor

D : Default constructor

View Answer

What will be the output of the following program?

Options

A : Base OK. Derived OK. Derived DEL.

B : Base OK. Base OK. Derived OK. Derived DEL.

C : Base OK. Derived OK. Derived DEL. Derived DEL.

D : Base OK. Base OK. Derived OK. Derived DEL. Derived DEL.

View Answer

What will be the output of the following program?

Options

A : 6 6 4

B : 6 6 5

C : 5 40 38

D : 6 40 38

View Answer

What is the technical word for the function ~IndiaBix() defined in the following program?

Options

A : Constructor

B : Destructor

C : Default Destructor

D : Function Template

View Answer

Constructors and Destructors - General Questions more Online Exam Quiz

System Analysis and Design - Part 6

Unix - Part 2

Unix - Part 3

Windows 2000 Server - Part 2

Windows NT - Part 2

Functions - Programs

Objects and Classes - Programs

References - Programs