Cpp Programming Quiz 221 – A union that has no constructor can be initialized with another union of __________ type.
[A].
different
[B].same
[C].
virtual
[D].
class
Answer: Option B
Explanation:
No answer description available for this question.
virtual
[D].
class
Answer: Option B
Explanation:
No answer description available for this question.
delete
[C].
delete[]
[D].
kill[]
Answer: Option C
Explanation:
No answer description available for this question.
The program will print the output Garbage-value.
[C].
The program will report compile time error.
[D].
The program will report runtime error.
Answer: Option C
Explanation:
No answer description available for this question.
The program will print the output Garbage-value.
[C].
The program will report compile time error.
[D].
The program will report runtime error.
Answer: Option A
Explanation:
No answer description available for this question.
Destructor has the same name as that of the class with a tilde symbol at the beginning.
[C].
Both A and B.
[D].
Destructor has the same name as the first member function of the class.
Answer: Option C
Explanation:
No answer description available for this question.
copy constructor
[C].
Both A and B
[D].
None of these
Answer: Option A
Explanation:
No answer description available for this question.
copy constructor
[C].
destructor
[D].
default constructor
Answer: Option B
Explanation:
No answer description available for this question.
two
[C].
three
[D].
no
Answer: Option D
Explanation:
No answer description available for this question.
The program will print the output 108.
[C].
The program will print the output garbage value.
[D].
The program will report compile time error.
Answer: Option A
Explanation:
No answer description available for this question.
two
[C].
no
[D].
three
Answer: Option C
Explanation:
No answer description available for this question.