why char* why not always in* since it always store address
Why char* why not always in* since it always store address
correction : int * instead of in*
The address of a variable ( int, char or otherwise) is not an integer value. The data type mentioned at the time of declaration of a pointer is the data type of the variable it points to and not the pointer itself. So, for char variable char* is used and not int*