What is the correct syntax for inheritance

a) class aclass : public superclass

b) class aclass inherit superclass

c) class aclass <-superclass


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

Does improper inheritance have a potential to wreck a project?

0 Answers  


What is math h in c++?

0 Answers  


What is an ABC: an "Abstract Base Class"?

1 Answers  


Explain storage qualifiers in c++.

0 Answers  


What is prototype for that c string function?

0 Answers  






In what situations do you have to use initialization list rather than assignment in constructors?

0 Answers  


How do you find out if a linked-list has an end? (I.e. The list is not a cycle)

0 Answers  


What is the basic difference between C and C++?

0 Answers   NIIT,


write a corrected statement in c++ so that the statement will work properly. x = y = z + 3a;

0 Answers  


What is data structure in c++?

0 Answers  


What is a friend function in c++?

0 Answers  


What is a wchar_t in c++?

0 Answers  


Categories