Define the operators that can be used with a pointer.
No Answer is Posted For this Question
Be the First to Post Answer
What is recursion?
write a program that a 5 digit number and calculates 2 power that number and prints it.
2 Answers Vimukti Technologies,
What are the basics of local (auto) objects?
How does a C++ structure differ from a C++ class?
Does std endl flush?
What is the best c++ book?
Write a program to get the value of sin (x) using a library function , when x is given in degrees.
What's the most powerful programming language?
What are raw sockets, where they are efficient?
Explain storage qualifiers in 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.
Describe friend function & its advantages.