What are virtual functions and what is its use?
A virtual function is a member function that you expect to be redefined in derived classes. When you refer to a derived class object using a pointer or a reference to the base class, you can call a virtual function for that object and execute the derived class's version of the function.
Is This Answer Correct ? | 0 Yes | 0 No |
What is rvalue?
You run a shell on unix system. How would you tell which shell are you running?
How can you say that a template is better than a base class?
Where is atoi defined?
What is the best c++ book?
Why preincrement operator is faster than postincrement?
Write a program to get the value of sin (x) using a library function , when x is given in degrees.
what is data Abstraction? and give example
147 Answers Aaditya Info Solutions, American Express, CMS, College School Exams Tests, Data Entry Operator, First Advantage, Google, HCL, IBM, Infosys, Microsoft, Mind Links, NIIT, Oracle, Pact, QBit Systems, TCS, WAYA, Wipro,
What is the difference between reference type and pointers.
What is the difference between multiple and multilevel inheritance in c++?
What is c++ map?
What is a modifier in c++?