array would be allocated in stack and stack is very limited compared to heap.If you want temporary data storage go for stack which will be freed from stack once array goes out of scope else heap is preferred.
On Thu, Jan 3, 2013 at 1:01 AM, Rahul <raikra...@gmail.com> wrote: > Take a look at the linux kernel . > Or VLC player 's source code. > You will not ask this question again. --