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

founder of c++

7 Answers   Microtek, TCS, TeleCommand,


Describe the advantage of an external iterator.

0 Answers  


What are the sizes and ranges of the basic c++ data types?

0 Answers  


What are its advantages and disadvantages of multiple inheritances (virtual inheritance)?

0 Answers  


Which software is used for c++ programming?

0 Answers  






Is string data type in c++?

0 Answers  


Implement a 2 dimensional array by one dimentional array

1 Answers   CTS,


What is one dimensional array in c++?

0 Answers  


Can we remove an element in a single linked list without traversing? Lets suppose the link list is like this 1 2 3 4 5 6 We need to remove 4 from this list (without traversing from beginning) and the final link list shud be 1 2 3 5 6 only thing we know is the pointer to element "4". How can we remove "4" and link "3" to "5"?

6 Answers   CSC,


What is #include sstream?

0 Answers  


What is c++ manipulator?

0 Answers  


Define stacks. Provide an example where they are useful.

0 Answers  


Categories