Size of pointer dependes on the machine you are using . Now a days we all are using 64-bit machine.
#include<stdio.h>
int main() {
int *p;
printf("size %d ",sizeof(p));
}
in this machine size of pointer is 8B.
If size of pointer / any information about machine is NOT given then take it as 2B .