are pointers of integer or unsigned datatype?
In C, pointer can access the variables of any data types. The pointer should be declared with the data type of the variable the pointer will be pointing. To print the address of the pointer in hexadecimal format use %p
and to print the address in other forms use %u
.If the pointer is going to be used to display value of pointing variable, use *pointer_name
and just for address use pointer_name
.