Explain what data encapsulation is in c++?
No Answer is Posted For this Question
Be the First to Post Answer
How do you generate a random number in c++?
Which algorithm do you like the most? Why?
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 design pattern?
What is friend class in c++ with example?
Is c++ free?
What is a vector c++?
Where do I find the current c or c++ standard documents?
Where is atoi defined?
What is a pointer how and when is it used?
Explain how would you handle a situation where you cannot call the destructor of a local explicitly?
What is a node class?