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
What is setfill c++?
Does c++ have string data type?
Is c++ slower than c?
What is the difference between Class and Structure?
40 Answers HP, IBM, Samsung, TCS,
If a function doesn’t return a value, how do you declare the function?
What is the difference between operator new and the new operator?
what is the behaviour of C and C++ compiler for the below statements. int *p; p = malloc(100); Is the behaviour same ? or different ?
What is meant by const_cast?
What is the real purpose of class – to export data?
In java a final class is a class that cannot be derived. How can you make a similar class in C++
What are register variables?
How a pointer differs from a reference?