What is & in c++ function?
No Answer is Posted For this Question
Be the First to Post Answer
When copy constructor can be used?
How the delete operator differs from the delete[]operator?
In a class, there is a reference or pointer of an object of another class embedded, and the memory is either allocated or assigned to the new object created for this class. In the constructor, parameters are passed to initialize the data members and the embedded object reference to get inialized. What measures or design change should be advised for proper destruction and avioding memory leaks, getting pointers dangling for the embedded object memory allocation? Please suggest.
What is istream c++?
What do you mean by early binding?
what are prototypes
Is c++ a software?
Write a program to get the value of sin (x) using a library function , when x is given in degrees.
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 operator overloading in c++ example?
What is the this pointer?
I want explanation for this assignment: how to connect mysql database using c/c++,please explain this detailly?