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 |
What is #include iostream?
What is a loop? What are different types of loops in c++?
When does a 'this' pointer get created?
What is the best c++ compiler for windows 10?
How do you flush a buffer in c++?
You have to take 2 arrays of length 10. Input the values of array 1 from the user. Then copy the values of array 1 to array 2 in ascending order For example if user enters 9, 5, 6, 8, 1, 0, 2, 7, 4, 3 then copy the smallest element i.e. 0 first followed by 1, 2 and so
Differences between private, protected and public and give examples.
What is singleton class in c++?
Explain the purpose of the keyword volatile.
If dog is a friend of boy and boy is a friend of house, is dog a friend of house?
What are the differences between a struct in C and in C++?
Mention the storage classes in c++.