Design a site like this with
Get started

Size of a Pointer based on datatype

There is a lot of confusion about the size of the pointers based on datatypes. A usual question is if there is a difference of size in: int *p; char *p; string *p; The answer is simple. As we discussed in the previous detailed post on pointers, A Pointer points to the address of a... Continue Reading →

Create a free website or blog at

Up ↑