Re: [algogeeks] Free memory

2011-07-17 Thread saurabh singh
Obviously you can't free the memory allocated in stack.The compiler won't call an error but once the code is executed it will cause run time error. On Sun, Jul 17, 2011 at 2:57 PM, Ankur Khurana wrote: > Can we do this ? > > int i=12; > free(&i); > > > > > > > Regards, > Ankur Khurana > Computer

[algogeeks] Free memory

2011-07-17 Thread Ankur Khurana
Can we do this ? int i=12; free(&i); Regards, Ankur Khurana Computer Science , 4th year Netaji Subhas Institute Of Technology Delhi. -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googleg