1.
Template class cannot have static variables.
- ATrue
- BFalse
Class templates can have static members; each instantiation gets its own copy.
MCQs, short and long questions from lecture 42.Lecture 42 ki MCQs, short aur long sawal.
2 MCQs · 2 MCQs from past papers2 MCQs · 2 MCQs past papers se
Template class cannot have static variables.
Class templates can have static members; each instantiation gets its own copy.
When we write a class template the first line must be:
A class template begins with template <class T>, where T is a type parameter name.
No MCQs match this filter.Is filter mein koi MCQ nahi.
No short questions added yet.Abhi koi short sawal shamil nahi.
No long questions added yet.Abhi koi long sawal shamil nahi.