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
What is floating point constants?
When should a type cast not be used?
What is a const pointer?
Explain how can you restore a redirected standard stream?
How arrays can be passed to a user defined function
Implement bit Array in C.
Differentiate between Macro and ordinary definition.
Explain about block scope in c?
What are the 5 data types?
Why do we use int main instead of void main in c?
Explain what are linked list?
Explain how do you determine the length of a string value that was stored in a variable?
What is the difference between procedural and functional programming?
What is difference between && and & in c?
Why main is used in c?