What are shallow and deep copies?
Explain what you mean by a pointer.
Does there exist any other function which can be used to convert an integer or a float to a string?
Why should we use null or zero in a program?
Can char be a number c++?
Write a program to swap 2 chars without using a third varable? char *s = "A"; char *p = "B";
What is the best way to declare and define global variables?
How can a struct in c++ differs from a struct in c?
How many types of comments are there in c++?
What is atoi?
Differentiate between C and C++.
Is c better than 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.