Answer Posted /

Is This Answer Correct ?    Yes No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I use a proxy server when invoking a web service?

516


Differentiate between singly and doubly linked lists?

500


How do you document your SAP BODI integration processes, job designs, and transformations? How would you share this knowledge with your team?

1


What is a node in blockchain?

1


Name some of the open source software that you can use in alternative to SSR?

105






What are the advantages of sql? Explain

636


What is the difference between a user defined function and a stored procedure?

476


Is lazy thread safe c#?

495


What is ruby object?

5


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

1652


Your company has asked you to be the project manager for the product introduction of their new DeskTop Rock media system. You recently published a document that establishes the scope baseline. Which of the following is true? A. This is the scope statement, which is an output of the Scope Planning process. B. This is the scope statement, which is an output of the Scope Definition process. C. This is the scope statement, which is a tool and technique of the Scope Definition process. D. This is the scope management plan, which is an output of the Scope Definition process.

584


What is the difference between windows server 2012 and 2008?

102


What is the word wrap/word wrapping in css3?

320


Explain what is the limit of data.com records that can be added to Salesforce?

174


I'm looking for a softcopy manual set for a Credence ASL- 3000. Anyone know where I can get it?

1624