ok here is the code.
in linux when i use sizeof(buf) it shows me 4 as the answer (which is actually the size of a char *)Code:char *buf=(char *)malloc(4096);
what should i do for it to show me 4096 here.
i mean sizeof(?) what is the question mark part?