...
OOPS
August 29, 2024
OOPS
August 29, 2024
OOPS
August 29, 2024
OOPS
August 29, 2024

OOPS

Question 66
Which of the following is not correct (in C++) ?
A
Class templates and function templates are instantiated in the same way
B
Class templates differ from function templates in the way they are initiated
C
Class template is initiated by defining an object using the template argument
D
Class templates are generally used for storage classes
E
None of the above
Question 66 Explanation: 
(1) TRUE: Class templates and function templates are instantiated in the same way
(2) FALSE: Class templates differ from function templates in the way they are initiated
(3) FALSE: Class template is initiated by defining an object using the template argument
(4)FALSE: Class templates are generally used for storage classes
Correct Answer: E
Question 66 Explanation: 
(1) TRUE: Class templates and function templates are instantiated in the same way
(2) FALSE: Class templates differ from function templates in the way they are initiated
(3) FALSE: Class template is initiated by defining an object using the template argument
(4)FALSE: Class templates are generally used for storage classes

Leave a Reply

Your email address will not be published. Required fields are marked *