+ 2
What is the data type of pointer ??
I know that pointer is a variable that store address of another variable ,So I want to know what can be the data type of pointer.
1 Réponse
+ 1
It is with what you declare it with. It will store only the address of the variable that matches its declared type.
So for integer variable you need an integer pointer and similarly for character variable you need character pointer.