I dont think it will be error, U r passing main function as reference so it will print some address ..
The only concern is when u execute this 100 or more times will there be some pattern in the answer ? Regards Ankur On Thu, Aug 25, 2011 at 1:41 AM, prasanth n <nprasnt...@gmail.com> wrote: > @ankur: > > i think its error..l value required > > On Wed, Aug 24, 2011 at 11:18 PM, Ankur Garg <ankurga...@gmail.com> wrote: > >> Hi >> >> Suppose there is a program >> >> int main(){ >> printf("%t",&main()); >> sleep(1000); >> return 0; >> } >> >> The above program is run from 100 different windows >> >> What will be the output >> >> Will there be any pattern >> >> Regards >> Ankur >> >> -- >> 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. >> > > > > -- > *prasanth* > > -- > 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. > -- 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.