List the advantages of inheritance.
No Answer is Posted For this Question
Be the First to Post Answer
What is the maximum combined length of command line arguments including the space between adjacent arguments?
How do you invoke a base member function from a derived class in which you have not overridden that function?
How many static variables are created if you put one static member into a template class definition?
class HasStatic { static int I; }; Referring to the sample code above, what is the appropriate method of defining the member variable "I", and assigning it the value 10, outside of the class declaration? a) HasStatic I = 10; b) int static I = 10; c) static I(10); d) static I = 10; e) int HasStatic::I = 10;
Suppose that data is an array of 1000 integers. Write a single function call that will sort the 100 elements data [222] through data [321].
Distinguish between a # include and #define.
Differentiate between the message and method in c++?
What is the use of endl in c++ give an example?
How to defines the function in c++?
Explain overriding.
What is constructor in C++?
What do you mean by pure virtual functions in C++? Give an example?