if i declare a string constant inside another function like let us say , int how() {
char *s="hello"; return s; } so when how() get executed , the memory for hello will remain reserved or it can be allocated to others. Will it amount to memory leak ? -- Ankur Khurana Computer Science 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@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.