1.

What is meant by template specialization?(a) It will have certain data types to be fixed(b) It will make certain data types to be dynamic(c) Certain data types are invalid(d) It will make all data types to be dynamicI have been asked this question during an interview for a job.This is a very interesting question from Specialization topic in section Derived Classes, Templates & Exception Handling in C++ of C++

Answer»

The CORRECT CHOICE is (a) It will have certain data TYPES to be fixed

Best explanation: In the template specialization, it will make the template to be SPECIFIC for some data types.



Discussion

No Comment Found

Related InterviewSolutions