what is virtual function?
Answer Posted / shekhar
virtual function is used to prevent from more times
calling.That means if a function is declared as virtual
then its def will be diferent in base class & derived class
Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
What is abstraction in oop with example?
Who invented oop?
write a programe to calculate the simple intrest and compund intrest using by function overlading
What is object and class in oops?
Is html an oop?
What is polymorphism used for?
What is debug class?what is trace class? What differences are between them? With examples.
What does <> mean pseudocode?
What are constructors in oop?
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
explain sub-type and sub class? atleast u have differ it into 4 points?
What does and I oop mean in text?
Can main method override?
write knight tour problem which is present in datastructure
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?