What is virtual function?where and when is it used?
Answers were Sorted based on User's Feedback
Answer / reshma khan pathan
In object-oriented programming, a virtual function is a
function whose behavior can overridden by a function of
same signature of inherited class.
Is This Answer Correct ? | 6 Yes | 0 No |
Answer / vijaya lakshmi
virtual memory used as a temporary memory.it mainly
used to store a another variable value.
Is This Answer Correct ? | 3 Yes | 2 No |
What is the difference between pass by reference and pass by value?
What is multilevel inheritance in oop?
What does and I oop mean?
what is difference between objects and function
c++ is a pure object oriented programming or not?
What are callback functions in c++
Write a program in c++ to read two floating point numbers and find their sum and average.
any one please tell me the purpose of operator overloading
What is abstraction in oop with example?
WHEN A COPY CONSTER IS CALL ?
//what is wrong with the programme?? #include<iostream.h> template <class first> class dd { first i; public: void set(); void print(); }; void dd< first>:: set() { cin>>i; } void dd< first>::print() { cout<<"\n"<<i; } void main() { dd <char>g; g.set(); g.print(); }
Why is destructor used?