What is syntax for multiple inheritance in Cpp?


Warning: Trying to access array offset on false in /home3/indiakep/public_html/wp-content/plugins/dw-question-answer/inc/Template.php on line 8
All QuestionsCategory: Cpp LanguageWhat is syntax for multiple inheritance in Cpp?
Chetan Shidling Staff asked 6 years ago

I need short information.

1 Answers
Chetan Shidling Staff answered 6 years ago

Syntax

class subclass_name : access_mode base_class1, access_mode base_class2 ….
{
//body of subclass
};