@ahishek i was thinking the same and even from one pdf i have read this but it s showing error..confused..
On Tue, Aug 23, 2011 at 12:26 AM, sagar pareek <[email protected]>wrote: > it gives runtime error... > coz u have to allocate memory to *q > > On Tue, Aug 23, 2011 at 12:02 AM, Abhishek > <[email protected]>wrote: > >> i think.. it will not produce error, but o/p 'may' be garbage values. >> since the memory locations adjacent to *q will be overwritten. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Algorithm Geeks" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/algogeeks/-/X1CZmpVjhxEJ. >> >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/algogeeks?hl=en. >> > > > > -- > **Regards > SAGAR PAREEK > COMPUTER SCIENCE AND ENGINEERING > NIT ALLAHABAD > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
