char *ptr;
sizeof(*ptr) will return you 1 (size of char varaible whose address it can hold).
char *ptr[10];
sizeof(*ptr) will return you 4 why???
Please clear my doubt regarding pointer
sizeof(*ptr) will return you 1 (size of char varaible whose address it can hold).
char *ptr[10];
sizeof(*ptr) will return you 4 why???
Please clear my doubt regarding pointer
Comment