after termination of semicolon , that will be considered a separate line i guess
On Tue, Feb 15, 2011 at 10:59 PM, Don <dondod...@gmail.com> wrote: > void change() > { > printf("10"); while(1) {} > } > > On Feb 15, 10:17 am, Balaji S <balaji.ceg...@gmail.com> wrote: > > Insert only one line in the function change() so that the output of the > > program is 10. > > You are not allowed to use exit(). You are not allowed to edit the > function > > main() or to > > pass the parameter to change() > > > > void change() > > { > > // Code here} > > > > int main() > > { > > int i=5; > > change(); > > printf(ā%dā ,i); > > return 0; > > > > } > > > > > > -- > 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. > > -- With Regards, *Jalaj Jaiswal* (+919019947895) Software developer, Cisco Systems B.Tech IIIT ALLAHABAD -- 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.