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.
5 5724Post New GE C++ General Interview Questions
How do you create movement types? What are the steps involved? When will you recommend a new movement type?
List the major browsers supported by angularjs?
How are css files saved?
Give one example for multiple statements in single statement?
Which are the third-party tools used in sql server and why would you use them?
Mention different exceptions you had in selenium web driver?
Is access better than excel?
What are the main key components in web applications and client and server applications?
how to maintain E-Commerce companies accounts
Explain me what is stripping?
What is Pig Statistics? What are all stats classes in the Java API package available?
What are predefined functions?
What is a special period? When do you use it?
What are lattice-based cryptosystems ?
What is hibernate connection pool_size?