Answer Posted / sourisengupta
free(ptr);
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. According to the information, it
frees
the memory.
| Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
Why & is used in scanf in c?
What is a char in c?
What are the 5 data types?
What is ctrl c called?
What is type qualifiers?
What does int main () mean?
Why main is not a keyword in c?
What are categories used for in c?
What is switch in c?
Explain 'bus error'?
What is const keyword in c?
Why do we use stdio h and conio h?
What is union in c?
How can you read a directory in a C program?
How pointers are declared?