c lanuage

India
June 22, 2008 12:26pm CST
Explain me about Dynamic memory allocation
3 people like this
3 responses
@padu19 (1441)
• India
23 Jun 08
Well if you have any doubts regarding dynamic memory allocation, i could help you to some extent.. "Dynamic" refers to "run-time", according to C language. When a data is actually obtained during the program execution, the original memory allocation(given during the variable declaration) may not be enough or compatible with the given data. Also dynamic memory allocation is used when the actual size of a data is not known until it is obtained.. That is why the memory is allocated during execution, which is called as dynamic memory allocation. This is done using the malloc() and calloc() function.
• India
27 Jun 08
Ur explation was good
3 people like this
• India
27 Jun 08
Ya its correct short and best
2 people like this
@padu19 (1441)
• India
27 Jun 08
hmm.. thanks for your comment..
2 people like this
@murthee (84)
• India
18 Jul 08
hai ... manoj! dynamic memory allocation is the most efficient memory allocation. It saves more memory than static memory allocation!!
2 people like this
• India
24 Jul 08
Ya thank u
2 people like this
• India
29 Jun 08
iam just learning c language i just know the Basic only so ask me any questions from basic n ill tel....
2 people like this