C Programming - Structures, Unions, Enums - Discussion

Discussion Forum : Structures, Unions, Enums - General Questions (Q.No. 1)
1.
How will you free the allocated memory ?
remove(var-name);
free(var-name);
delete(var-name);
dalloc(var-name);
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
50 comments Page 3 of 5.

Amreen said:   1 decade ago
free() is build in function in C in stdlib.h.

Soujanya said:   1 decade ago
How can we decide that its asked for deallocating the dynamically allocated memory?

As we use free to deallocate the dynamic memory allocation.

Vendhan said:   1 decade ago
free() is the built in function in C, when we want to remove the allocated space of variable (ex. like A is the variable) given the syntax free(a); the allocated space memory come out free.

Rama said:   1 decade ago
I have one doubt.

What is meant by dalloc (variable-name) ?

I think deletion of var-name means there allocated the memory.
(1)

Pavankumar said:   1 decade ago
What is the functionality of remove (variablename)?

V.lakshminarayana said:   1 decade ago
What is dalloc functionality in c?

Free allocated memory means it free variable. 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.

Bhavani said:   1 decade ago
Free allocated memory means it free variable.

Kotteswari said:   1 decade ago
free () is built in function of c language. This function used to clear the memory so it is correct.


Post your comments here:

Your comments will be displayed after verification.