What is size of pointer in c?

Size of any type of pointer in c is independent of data type which is pointer is pointing i.e. size of all type of pointer (near) in c is two byte either it is int pointer, double pointer, function pointer or null pointer.  Char pointer is not exception of this rule and size of char pointer is also two byte.

No comments: