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 6576Post New GE C++ General Interview Questions
Explain logical databases
Can you use Spark for ETL process?
Describe the Big-O Notation.
Why do we need decentralized systems? Benefits of blockchain technology?
What type of loop is a for loop?
Sir, plz tell me how droop setting is done in parellel operation od DG set ? please give practical example ?
Write the disadvantages of separate chaining?
Explain the definition of normalized and denormalized view?
What is binary tree in computer science?
What is the difference between PROCEDURES and USER DEFINED FUNCTIONS in HANA?
What is the difference between ctrl f5 and ctrl r?
what is mmscfd and how to calculate?
What is pneumatic system?
What is ctrl h in word?
What is z os in mainframe?