2009-09-24, 09:08 PM
Fiel Wrote:Don't use malloc. That can easily lead to pseudo-dynamic allocation (using the user input to create the size of the array without using malloc. I remember if I did that on any of my C assignments I received a 0 without the ability to contest it). Of course, the choice is up to you guys.Obviously you'd do a sanity check on the input before calling malloc.


