How can you force instantiation of a template?
Answer / bhargavi
You can force the instantiation of a specialization of the
template by specifying a prototype somewhere in your code.
| Is This Answer Correct ? | 0 Yes | 0 No |
Which uses less memory? a) struct astruct { int x; float y; int v; }; b) union aunion { int x; float v; }; c) char array[10];
How does java differ from c and c++?
What are templates? where we should use it?
What is a flag in c++?
What is the difference between C and CPP?
What is the difference between an array and a list?
Can we sort map in c++?
Differentiate between a constructor and a method in C++.
Explain what are accessor methods?
What is a container class? What are the types of container classes?
Can comments be nested?
Difference between static global and global?
16 Answers Microsoft, Symphony, Wipro,