free (static_array)

Sajish V emailsaju@yahoo.com
Tue Jul 1 06:39:00 GMT 2008


Hi All, 
Can you please let me know why GCC does not crib when we try to free a static array?
main ()
{ 
     char array[100];
     free (array);
}
The above code compiles without any hitch. 
Thanks,
Sajish.





More information about the Gcc mailing list