KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have faced some problem in this case can you please your ideas. main() { char *p=NULL; p=(char *)malloc(2000 * sizeof(char)); printf("size of p = %d\n",sizeof (p)); } In this program Its print the 4 that (char *) value,but i need how many bytes allocated for that.
Tags (comma-separated)
Save Edits
Cancel