What are different types of polymorphism supported by C++
Answers were Sorted based on User's Feedback
Answer / ammu
polymorphism occurs in 2 levels one at compile time and
another at run time
compile time polymorphism includes function overloading and
operator overloading
run time polymorphism includes virtual function
Is This Answer Correct ? | 22 Yes | 3 No |
Answer / minakshi
runtime polymorphism
1.function overloading
2,operator overloading
compile time
1.virtual function
Is This Answer Correct ? | 7 Yes | 18 No |
How do you define/declare constants in c++?
What is enum c++?
Differentiate between a template class and class template in c++?
Is atoi safe?
Can you pass an array to a function in c++?
Who calls main function?
What is the stack?
Is there structure in c++?
What is a catch statement?
Can turbo c++ run c program?
Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. Your program should work for squares of all side sizes between 1 and 20. --- │ │ │ │ │ │ ---
What is rtti in c++?