C Programming - Structures, Unions, Enums - Discussion
Discussion Forum : Structures, Unions, Enums - General Questions (Q.No. 1)
1.
How will you free the allocated memory ?
Discussion:
50 comments Page 5 of 5.
HARI said:
1 decade ago
Its just free the memory for the current use.
Safi said:
1 decade ago
Delete means increase space but at that deleted location take over by next allocated data. Hence that memory address is not free permanently.
While free means at that location space for another data entry. This location is not fill without user sent data by taking that reference.
While free means at that location space for another data entry. This location is not fill without user sent data by taking that reference.
V.S.Kaushik said:
1 decade ago
free(varname) is used to free the memory space.
Sindhu said:
1 decade ago
What is difference between delete and free ?
Chinnu said:
1 decade ago
free is the function it is use to allocated or removal of memory.
Kotteswari said:
1 decade ago
free () is built in function of c language. This function used to clear the memory so it is correct.
Bhavani said:
1 decade ago
Free allocated memory means it free variable.
Jiten said:
1 decade ago
Yes, free() is a function which is used to deallocate the memory.
Free allocated memory means it free variable. said:
1 decade ago
Free allocated memory means it free variable.
V.lakshminarayana said:
1 decade ago
What is dalloc functionality in c?
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers