What is a virtual base class?

Answer Posted / guessme

Suppose u 've 2 derived class b & c that is a common base
class of a. & u also 've another class d.that is inherit
from b and c.

Is This Answer Correct ?    7 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between a baller and a reference in C++?

576


help me i need a c++ program which takes sequesnce of characters and outputed sequence of their token taypes, work same compiler in lexical analysis phase

1881


In which header file does one find isalpha() a) conio.h b) stdio.h c) ctype.h

675


How will you print a list of all unique words from a string which may contain repeated words?

537


What are protected members in c++?

619






How can you link a c program with a c function?

564


Define virtual constructor.

641


Write a note about the virtual member function?

601


Describe private, protected and public – the differences and give examples.

585


What is abstraction in c++ with example?

560


write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.

1778


What is a hash function c++?

552


There is a base class sub, with a member function fnsub(). There are two classes super1 and super2 which are sub classes of the base class sub.if and pointer object is created of the class sub which points to any of the two classes super1 and super2, if fnsub() is called which one will be inoked?

571


How do you define a class in c++?

642


What is the two main roles of operating system?

510