P
Q. Which of the following is not correct (in C++)? 1. Class templates and function templates are instantiated in the same way 2. Class templates differ from function templates in the way they are initiated 3. Class template is initiated by defining an object using the template argument 4. Class templates are generally used for storage classes
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. What is the output of the following code snippet? int x = 5; int y = x++; cout << y;
Q. What is the difference between protected and private access specifiers in inheritance?
Q. Which of the following is the correct way to define a union in C++?
Q. Which of the following is the correct way to declare a function template in C++?
Q. Which of the following is not an example of high level language?
Q. What is the ASCII value of ‘\0’ character?
Discusssion
Login to discuss.