static memory allocation versus dynamic memory allocation
- From: "Ken" <javacc8@xxxxxxxxx>
- Date: 25 Nov 2006 21:48:09 -0800
In C programming, I want to know in what situations we should use
static memory allocation instead of dynamic memory allocation. My
understanding is that static memory allocation like using array is
faster than malloc, but dynamic memory allocation is more flexible.
Please comment... thanks.
.
- Follow-Ups:
- Re: static memory allocation versus dynamic memory allocation
- From: rhle.freak
- Re: static memory allocation versus dynamic memory allocation
- From: santosh
- Re: static memory allocation versus dynamic memory allocation
- From: Richard Heathfield
- Re: static memory allocation versus dynamic memory allocation
- From: Tom St Denis
- Re: static memory allocation versus dynamic memory allocation
- Prev by Date: Re: scanf behaviour
- Next by Date: Re: scanf behaviour
- Previous by thread: Re: Reading a string of unknown size
- Next by thread: Re: static memory allocation versus dynamic memory allocation
- Index(es):
Relevant Pages
|
Loading