Why do we need function?
No Answer is Posted For this Question
Be the First to Post Answer
If a base class is an adt, and it has three pure virtual functions, how many of these functions must be overridden in its derived classes?
What character terminates all character array strings a) b) . c) END
How would you obtain segment and offset addresses from a far address of a memory location?
What is the difference between *p++ and (*p)++ ?
What is the benefit of c++?
Which one of the following describes characteristics of "protected" inheritance? a) The base class has access only to the public or protected members of the derived class. b) The derived class has non-public, inheritable, access to all but the private members of the base class. c) The derived class has access to all members of the base class. d) The private members of the base class are visible within the derived class. e) Public members of the derived class are privately accessible from the base class.
class base { public: int fun(int) {} }; class base2 { public: int fun(float) { } }; so here qustion is both function either function overloading or over riding;
How does a copy constructor differs from an overloaded assignment operator?
What is an orthogonal base class in c++?
string somestring ; Which of the following choices will convert a standard C++ string object "somestring" to a C string? a) Copy.somestring () ; b) somestring.c_str () c) &somestring [1] d) std::cstring (somestring) e) (char *) somestring
Write a struct time where integer m, h, s are its members?
What is Destructor in C++?