arrow (->) is used to access the data using pointer variable
What is the point of declaring Pointer of different types (eg. integer,float,char) as we all know pointer takes 4 bytes of space regardless which type of pointer it is and only contains address?
void main(){ int i=320; char *ptr=(char *)&i; printf("%d",*ptr); }
Please provide your explanation also?