If you don’t declare a return value, what type of return value is assumed?
No Answer is Posted For this Question
Be the First to Post Answer
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.
Explain what data encapsulation is in c++?
What are the advantages of pointers?
Give an example of run-time polymorphism/virtual functions.
Is there anything you can do in C++ that you cannot do in C?
When you overload member functions, in what ways must they differ?
What is #include ctype h in c++?
what is C++ exceptional handling?
Comment on assignment operator in c++.
Specify some guidelines that should be followed while overloading operators?
Describe functional overloading?
what is static function