Polymorphism

A pointer is the data type of an address variable a variable for storing addresses a special type of integer variable a special type of operator The declaration statement int* p1, p2 ; declares two pointer variables p1 and p2 declares two integer variables p1 and p2 declares p1 as a pointer variable and p2 as an integer variable is illegal because of blank space between * and p1 The statement int * p ; can be interpreted as the variable whose address is stored in p is an integer…

Read More