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 |
State the difference between pre and post increment/decrement operations.
What is the difference between cin.read() and cin.getline()?
class base { public: int fun(int) {} }; class base2 { public: int fun(float) { } }; so here qustion is both function either function overloading or over riding;
What are shallow and deep copy?
There is a magic square matrix in such a way that sum of a column or a row are same like 3 5 2 4 3 3 3 2 5 sum of each column and row is 10. you have to check that matrix is magic matrix or not?
Why is c++ still popular?
How is modularity introduced in C++?
Floating point representation and output seems to be compiler dependent?
Why is c++ difficult?
What are smart pointers?
What is the difference between Pointer and a Reference? When you would use them?
Write a c program for binary addition of two 8 bit numbers.