shlok.mobi
General Knowledge Questions and Answers - 923
Cplus
Questions and Answers
Prepare for Interview
Question:
What are virtual functions?
Answer:
The virtual fuctions must be members of some class. They cannot be static members. They are accessed by using object pointers. A virtual function can be a friend of another class.


More Questions :
  • What is stack unwinding?
  • What is problem with Runtime type identification?
  • What are the advantages of using on iterator?
  • What is a copy constructor and when is it called?
  • What is a virtual destructor?
  • What is a template?
  • What is the difference between method overloading and method overriding?
  • What is the use of storage class specifiers?
  • What is an explicit constructor?
  • What is reference?
  • What is difference between C++ and Java?
  • How the keyword struct is different from the keyword class in C++?
  • How can a struct in C++ differs from a struct in C?
  • What is virtual function?
  • Can a static member function access member variable of an object?
  • What is copy constructor?
  • What is default constructor?
  • What is a class?
  • How variable declaration in c++ differs that in c?
  • What is the use of enumerated data type?
  • Test your English Language
  • Comics of the Day
  • Best Names at the Sochi Olympics
  • Chinese New Year
  • Rare Flowers That Are Stunning To Look At
  • GK World Organisations
  • Upcoming New Cars
  • Most Stylish Bikes
  • Atal Bihari Vajpayee
  • Tips for Success in Law School
  • Amritsar
  • Commonwealth Games Places - Quiz
  • Football World Cup Winners - Quiz
  • How to Be Chill
  • Valentines Day Class Room Party Ideas
  • Tallest Building In The World
  • New Year Games
  • Modern Science And Technologies
  • Class 8 - Stars And The solar System
  • What to Eat in Manipur
  • Books And Authors - Quiz
  • Best Lipsticks In The World
  • loading...

    Did you Know :

    Phobia :
    allodoxaphobia : fear of opinions.
    More ...

    Shlok Consultants