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.- free (static_array) Sajish V
- Re: free (static_array) Denys Vlasenko
- Re: free (static_array) Sajish V
- Re: free (static_array) Denys Vlasenko
- Re: free (static_array) Michael Meissner
- Re: free (static_array) Joseph S. Myers
- Re: free (static_array) Michael Meissner
- Re: free (static_array) Sajish V
