#include <stdio.h>
int main(int argc, char **argv)
{
// The size of any type of pointer in c is independent of data type
// that the pointer is pointing at
void *vp;
printf("%d\n", (int)sizeof(vp));
char *cp;
printf("%d\n", (int)sizeof(cp));
int *ip;
printf("%d\n", (int)sizeof(ip));
float *fp;
printf("%d\n", (int)sizeof(fp));
return(0);
}
/*
run:
8
8
8
8
*/