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 1 of 5.

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)

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

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.

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.

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

Ryt one said:   1 decade ago
What is the difference in free and delete?

Hai said:   1 decade ago
What is the difference between dalloc and free?

Sri said:   1 decade ago
Hello friends, What is the difference b/w free(var-name); & dalloc(var-name); If you know the answer, Could you please send the answer.

Priya said:   1 decade ago
Free the memory in the sense we can use for further use in the program. But if we delete we can't use it in the program if we want it.

HAI said:   1 decade ago
What is meaning of free?


Post your comments here:

Your comments will be displayed after verification.