MCQ Mojo
access_time
menu
Quiz
Web Stories
CBSE
arrow_drop_down
MCQ Questions for CBSE Class 12 with Answers
MCQ Questions for CBSE Class 11 with Answers
MCQ Questions for CBSE Class 10 with Answers
MCQ Questions for CBSE Class 9 with Answers
MCQ Questions for CBSE Class 8 with Answers
MCQ Questions for CBSE Class 7 with Answers
MCQ Questions for CBSE Class 6 with Answers
MCQ Questions for CBSE Class 5 with Answers
MCQ Questions for CBSE Class 4 with Answers
MCQ Questions for CBSE Class 3 with Answers
MCQ Questions for CBSE Class 2 with Answers
MCQ Questions for CBSE Class 1 with Answers
CBSE
arrow_drop_down
MCQ Questions for CBSE Class 12 with Answers
MCQ Questions for CBSE Class 11 with Answers
MCQ Questions for CBSE Class 10 with Answers
MCQ Questions for CBSE Class 9 with Answers
MCQ Questions for CBSE Class 8 with Answers
MCQ Questions for CBSE Class 7 with Answers
MCQ Questions for CBSE Class 6 with Answers
MCQ Questions for CBSE Class 5 with Answers
MCQ Questions for CBSE Class 4 with Answers
MCQ Questions for CBSE Class 3 with Answers
MCQ Questions for CBSE Class 2 with Answers
MCQ Questions for CBSE Class 1 with Answers
Quiz
Quiz
/
Constructors MCQ Quiz Questions and Answers
1.
When an object is passed by reference to constructor, the constructor that is executed is ..........
static
default
inline
copy
2.
Which of the following is a function that removes the allocated memory of an object?
constructor
copy constructor
destructor
member function
3.
The name of constructor must be .........
same as object name
same as one of the member function
same as class name
none of these
4.
Which of the following has no return type and cannot be overloaded?
constructor
destructor
inline function
member function
5.
When an instance of a class comes into scope, the function that executed is ..........
constructor
destructor
friend
inline
6.
When a class object goes out to scope, the fucntion that gets executed is ...........
constructor
destructor
friend
inline
7.
How many destructors a class can have?
4
3
2
1
8.
Which of the following do not return any value?
friend functions
inline fucntions
constructor and destructor
member function
9.
Constructor should be declared under the scope ..........
public
private
protected
pointer
10.
Which of the following is not true?
destructors cannot be overloaded
constructors cannot be overloaded
constructors is executed automatically
constructors can have parameters
11.
The constructor without any parameter is called as .........
default constructor
instance constructor
initial constructor
parameterized constructor
Report Question
Previous
Next
warning
Submit
access_time
Time
Report Question
A bunch of text
Support mcqmojo.com by disabling your adblocker.
×
Please disable the adBlock and continue.
Thank you.
Reload page