I created a structure with 3 integer members and a pointer variable ptr
ptr=(struct node*)calloc(15,sizeof(struct node*));
printf("%ld",sizeof(ptr));
however using the sizeof operator to get the size of ptr is printing a size less than 15(i.e. 8). What should be done to just get the size of the pointer variable if this is incorrect.