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
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.
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.
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.
What will be the output of the following program?
Options
A : 1234
B : 4321
C : 12344321
D : 12341234
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.
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
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.
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
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
Constructors and Destructors - General Questions more Online Exam Quiz
System Analysis and Design - Part 6