1. HOW MUCH CEMENT AND SAND REQUIRED TO PLASTER 100 SQM WALL. 2. HOW MUCH CEMENT AND SAND REQUIRED FOR SCREED WORK OF AREA 30 SQM
3127Post New Civil Service Civil Engineering Interview Questions
Question 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. Question Submitted By :: Sunil Kumar I also faced this Question!! Rank Answer Posted By Re: 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. Answer # 1 use copy constructors 0 Shanthila There is something to be taken care in destructor, in copy constructor, suppose the memory is assigned to the embedded member object pointer with the parameter passed value, but if some other objects of different class also are pointing to this memory, then if some one deletes the object then this class member pointer object will become dangling, or if the object is not deleted properly then there will be memory leak. Please suggest the design change required to handle or avoid this situation
Explain Sticky bit?
Can I include php in javascript?
How do I register with regsvr32?
what happens to the unit particles of a solute when it dissolves on a liquid?
how will you rename a vg?
what are the dimensions that you have in your current project?list them?
Why is it that a single, all – encompassing metric cannot be developed for programme complexity or programme quality?
What are the differences between siebel 7.8 and 8.0?
What are the main components of backbone.js ?
How can recruiter justified that the candidate is expert in Algorithm and datastructure for Software product development ?
In python, can you name the data science and machine learning libraries?
illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question
Explain lists and ivalue?
If there are more number of production defects, how will you tackle the team as a lead