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
In a header file whether functions are declared or defined?
Is printf a keyword?
What is the use of function overloading in C?
How can I rethow can I return a sequence of random numbers which dont repeat at all?
What is advantage of pointer in c?
Why doesnt that code work?
Can we change the value of constant variable in c?
When is the “void” keyword used in a function?
What is the difference between malloc() and calloc() function in c language?
What are inbuilt functions in c?
how many errors in c explain deply
Why do we need volatile in c?
Explain what are compound statements?
Write a program to generate the Fibinocci Series
Why c is procedure oriented?