Answer Posted / sekhar
free takes the pointer variable as argument. The intial
data at that location holds a value of number of bytes that
pointer is pointing to. Based on that information, it frees
the memory.
Is This Answer Correct ? | 9 Yes | 5 No |
Post New Answer View All Answers
What is the use of function overloading in C?
Which is better malloc or calloc?
why arguments can generally be passed to functions a) sending the values of the arguments b) sending the addresses of the arguments c) a & b d) none of the above
How can you access memory located at a certain address?
What is the acronym for ansi?
What is the difference between NULL and NUL?
How do you initialize pointer variables?
How do I copy files?
What extern c means?
Suggesting that there can be 62 seconds in a minute?
How do you search data in a data file using random access method?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
What is a method in c?
what is use of malloc and calloc?
Stimulate calculator using Switch-case-default statement for two numbers