C Programming - Memory Allocation - Discussion

Discussion Forum : Memory Allocation - General Questions (Q.No. 1)
1.
Which header file should be included to use functions like malloc() and calloc()?
memory.h
stdlib.h
string.h
dos.h
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
37 comments Page 3 of 4.

Akash patel said:   1 decade ago
How we will decide which one is better calloc or malloc during memory allocation?

Ganesh said:   1 decade ago
What is mean by malloc, calloc and realloc explain with simple example?

Saddam said:   9 years ago
According to me malloc() and calloc() is dynamic memory allocation.

Ruthran said:   1 decade ago
stdlib.h header file only have prototype of malloc() and clloc()

Mahesh said:   1 decade ago
The header file will be alloc.h but it is not in the option.

Ashwini said:   9 years ago
Hi, friends.

What is brk & sys_brk? Please explain briefly.

Ashu said:   1 decade ago
How calloc() is better than malloc? Explain with a example?

Bittubohemia said:   1 decade ago
How memory can be allocate in android? Can anyone explain?

Suresh said:   8 years ago
What is the stdib header file can you explain this?

Arti dixit said:   1 decade ago
How many prototype related to memory allocation?


Post your comments here:

Your comments will be displayed after verification.