Answer Posted / yughandhar
templates r used to create generic classes and functions.
Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
What does oop mean in snapchat?
What is polymorphism in oops?
What is oops concept with example?
What is oops in simple words?
What do you mean by variable?
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
What is an interface in oop?
Why do we need polymorphism in c#?
What is the importance of oop?
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash
What is difference between polymorphism and inheritance?
What is the difference between abstraction and polymorphism?
what is difference between class template and template class?
Why is polymorphism important in oop?
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction