 
                 
                InterviewSolution
| 1. | What is the relationship between object and pointers? Give an example. | 
| Answer» The pointers pointing to objects are referred to as object pointers. There is a relationship between pointers and objects. Using pointers all the members of the class can be accessed. The following example shows various operations that can be performed on the members of the class through a pointer to objects. Declaration : class name *object_pointer, object; { int empno; public: void readdata(); emp obj, *ptr; | |