Explain virtual functions in C++.

Answers were Sorted based on User's Feedback



Explain virtual functions in C++...

Answer / nashiinformaticssolutions

• A virtual function is a member function that can be overridden in derived classes. Declared with the virtual keyword in the base class, enabling runtime polymorphism.

Is This Answer Correct ?    0 Yes 0 No

Explain virtual functions in C++...

Answer / hr@tgksolutions.com

• A virtual function is a member function that can be overridden in derived classes. Declared with the virtual keyword in the base class, enabling runtime polymorphism.

Is This Answer Correct ?    0 Yes 0 No

Explain virtual functions in C++...

Answer / glibwaresoftsolutions

• A virtual function is a member function that can be overridden in derived classes. Declared with the virtual keyword in the base class, enabling runtime polymorphism.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

What are associate containers?

0 Answers  


What is c++ library?

0 Answers  


Write about the access privileges in c++ and also mention about its default access level?

0 Answers  


advantages and disadvantages of using Borland C++ / version 5.

1 Answers  


Write some differences between an external iterator and an internal iterator?

0 Answers  


How does a copy constructor differs from an overloaded assignment operator?

0 Answers  


What is istream c++?

0 Answers  


There is a magic square matrix in such a way that sum of a column or a row are same like 3 5 2 4 3 3 3 2 5 sum of each column and row is 10. you have to check that matrix is magic matrix or not?

1 Answers   TCS,


What is volatile and pragma? When they are used?

1 Answers  


What are the total number of lines written by you in C/C++? What is the most complicated or valuable program written in C/C++?

2 Answers   Intel,


How does the copy constructor differ from the assignment operator (=)?

0 Answers  


Define a program that reads two matrices of size 3x3 with real values from the user then prints their sum, difference and multiplication.

0 Answers   TCS,


Categories