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.

Prajwal Jain said:   1 decade ago
The free() uses C as built in function so. It will free (release) the allocated memory.

Mohamed Mosad said:   8 years ago
To be more specific we shall say,

free(pointer_to_dynamically_allocated_area).

M.suman said:   1 decade ago
I have one doubt.

If delete the variable means that memory also free ?

Kayalvizhi Selvaraj said:   1 decade ago
Here free() means releasing the memory, also dalloc() does. isn't it?

Raji said:   1 decade ago
What is the difference between free(var-name) & dalloc(var-name)?

Jiten said:   1 decade ago
Yes, free() is a function which is used to deallocate the memory.

Chinnu said:   1 decade ago
free is the function it is use to allocated or removal of memory.

Harika said:   1 decade ago
What is the functionality of remove(var_name), dalloc(var_name)?

Sindhuja said:   1 decade ago
malloc, calloc, dalloc means? How does they differ each other?

Sourav said:   4 years ago
I have one doubt, why not dalloc (var-name)? Please explain.


Post your comments here:

Your comments will be displayed after verification.