[A].
cannot overloaded
[B].
can be overloaded
[C].
can be called
[D].
can be nested
Answer: Option B
Explanation:
No answer description available for this question.
can be overloaded
[C].
can be called
[D].
can be nested
Answer: Option B
Explanation:
No answer description available for this question.
A destructor has integer return type.
[C].
A destructor has no return type.
[D].
A destructors return type is always same as that of main().
Answer: Option C
Explanation:
No answer description available for this question.
A constructor cannot contain a function call.
[C].
A constructor has no return type.
[D].
A constructor has a void return type.
Answer: Option C
Explanation:
No answer description available for this question.
[B].
[C].
[D].
Answer: Option B
Explanation:
The statement ‘B’ is correct, because int num[6]; specifies the size of array and num[6]=21; designates the particular element(7th element) of the array.
A destructor has a different name than the class in which it is present.
[C].
A destructor always returns an integer.
[D].
A destructor can be overloaded.
Answer: Option A
Explanation:
No answer description available for this question.
A constructor has a different name than the class in which it is present.
[C].
A constructor always returns an integer.
[D].
A constructor cannot be overloaded.
Answer: Option A
Explanation:
No answer description available for this question.
[B].
[C].
[D].
Answer: Option B
Explanation:
1. The array int num[26]; can store 26 elements. This statement is true.
2. The expression num[1] designates the very first element in the array. This statement is false, because it designates the second element of the array.
3. It is necessary to initialize the array at the time of declaration. This statement is false.
4. The declaration num[SIZE] is allowed if SIZE is a macro. This statement is true, because the MACRO just replaces the symbol SIZE with given value.
Hence the statements ‘1’ and ‘4’ are correct statements.
destructor
[C].
main
[D].
virtual function
Answer: Option B
Explanation:
No answer description available for this question.
[B].
[C].
[D].
Answer: Option B
Explanation:
No answer description available for this question.
virtual function
[C].
destructor
[D].
main
Answer: Option A
Explanation:
No answer description available for this question.