thnx dipit i was not able to catch that On Sat, Aug 27, 2011 at 2:54 AM, dipit grover <[email protected]> wrote:
> Because for the first iteration, while loop isnt executed and hence flag > isnt set any value. But the condition for checking value in flag variable is > evaluated when it doesnt have any initialised value. Hence the runtime > error. > > On Sat, Aug 27, 2011 at 3:18 PM, Amol Sharma <[email protected]>wrote: > >> why it is happening so....i mean it is initialised later >> >> what's the reason that it is giving run time error if not initialized at >> start >> -- >> >> >> Amol Sharma >> Third Year Student >> Computer Science and Engineering >> MNNIT Allahabad >> <http://gplus.to/amolsharma99> >> <http://twitter.com/amolsharma99><http://in.linkedin.com/pub/amol-sharma/21/79b/507><http://youtube.com/amolsharma99> >> >> >> >> >> >> On Sat, Aug 27, 2011 at 3:13 PM, dipit grover <[email protected]>wrote: >> >>> <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. >> > > > > -- > Dipit Grover > B.Tech in CSE > IIT Roorkee > > -- > 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. > -- *UTKARSH SRIVASTAV CSE-3 B-Tech 3rd Year @MNNIT 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.
