i am try to create a dynamic array of char
this is what i have done
Code:char *temp; unsigned int tempSize = 0; tempSize = 8212; temp = (char *) malloc(tempSize); printf("size of temp %d\n", sizeof(temp));
what gets printed is
size of temp 4
shouldnt the size of temp be 8212?