Which operations are permitted on pointers?
No Answer is Posted For this Question
Be the First to Post Answer
What is the basic structure of c++ program?
What header file is needed for exit(); a) stdlib.h b) conio.h c) dos.h
What are stacks? Give an example where they are useful.
What is the best way to take screenshots of a window with c++ in windows?
Explain "const" reference arguments in function?
#include<iostream.h> void main() { class x { public: int func(int) { cout<<"cool"; return 1; } } }
What do you mean by inheritance in c++? Explain its types.
Show the declaration for a static member variable.
What is pointer with example?
Is c++ built on c?
How is objective c different from c++?
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.