char a[256]; // Static allocation
char *p = new char[256]; // Dynamic allocation
>and why is supposed to be so popular in use?
You aren't restricted to a "one size fits all" strategy, and you can generally grab more memory from the dynamic pool than from the "stack".
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401