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

What are the advantages of c++ over c?

0 Answers  


What is buffering in c++?

0 Answers  


What is difference between malloc()/free() and new/delete?

0 Answers  


What are smart pointers?

3 Answers  


What is class in c++ with example?

0 Answers  


Is map thread safe c++?

0 Answers  


What do you mean by call by value and call by reference?

4 Answers  


Describe run-time type identification?

1 Answers  


why we cant create array of refrences

4 Answers  


How do you know that your class needs a virtual destructor?

5 Answers   Lucent,


What is the best way to declare and define global variables?

0 Answers  


How can you quickly find the number of elements stored in a a) static array b) dynamic array ?

5 Answers   Lucent,


Categories