Can class objects be passed as function arguments?
No Answer is Posted For this Question
Be the First to Post Answer
What is the c++ code?
Please explain class & object in c++?
Explain what is class definition in c++ ?
What is a syntax in c++?
Can recursive program be written in C++?
Why is c++ still used?
class A { public: void f(); protected: A() {} A(const A&){} }; Examine the class declaration shown above. Why are the default and copy constructors declared as protected? 1. To ensure that A cannot be created via new by a more derived class 2. To ensure that A cannot be copied 3. To ensure that A cannot be used as a base class except when public inheritance has been used 4. To ensure that A cannot be created/copied outside the inheritance chain 5. To ensure that A cannot be instantiated as a static variable
What is pure virtual function? Or what is abstract class?
What are the different types of comments allowed 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
what are difference between c and c++?
Explain data encapsulation?