Differentiate between a template class and class template?
Answer / beena
Template class:
A generic definition or a parameterized class not instantiated until the client provides the needed information. It’s jargon for plain templates.
Class template:
A class template specifies how individual classes can be constructed much like the way a class specifies how individual objects can be constructed. It’s jargon for plain classes.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is general form of pure virtual function? Explain?
Difference between inline functions and macros?
What is a string example?
Which function should be used to free the memory allocated by calloc()?
structure that describe a hotel with name, address,rooms and number of rooms
Tell me an example where stacks are useful?
Describe run-time type identification?
What is stl containers in c++?
let a,b,c be three integer numbers.write a c++ program with a function void rotate 1()such that a->b->c and c->a.
Explain selection sorting. Also write an example.
given the code segment below void main() { cout<<"my no. is"; } question is how can we get the output hai aravind my no. is 99999999999 without editig the main().
Explain the properties and principles of oop.