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 8515Post New GE C++ General Interview Questions
What are three common acronyms used in .net, and what do they stand for?
Where is the iis manager in windows 10?
What are the roles of the file system in any framework?
Is linux still used?
What is the advantage of ioc in spring?
What is a dashboard in sap bw and how it is created?
What do you understand by “directoryindex”?
What are the different types of collections views being provided by the map interface? : java collections
What is long term support ubuntu?
Define a variable in asp?
State some points of Union Budget 2017?
i want sample inteview question of chemical engg for BARC
What is the HIV-1 Gag primer sequence ?
What is the significance of integral controller and derivative controller in a pid controller?
What are internal tables? : abap hr