+1 Don
That's correct ..if we write as follows
while(i>0)
{
--i
// rest ......
}
in this case we got all zeros ........
On Thu, Sep 1, 2011 at 12:47 PM, Shashwat Shukla <
[email protected]> wrote:
> People,
> Use debugger and watch i. Answer is self explanatory.
>
>
> On 1 September 2011 19:58, sukran dhawan <[email protected]> wrote:
>
>> its oly 0 10 times since it is a static variable
>>
>>
>> On W ed, Aug 31, 2011 at 7:02 PM, teja bala <[email protected]>wrote:
>>
>>> @rohit i think 0 will also be printed as the last while condition'll be
>>> checked too....
>>>
>>>
>>> On Wed, Aug 31, 2011 at 6:59 PM, rohit <[email protected]> wrote:
>>>
>>>> 123456789
>>>>
>>>> --
>>>> 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/-/OsL6-Vp91qoJ.
>>>>
>>>> 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.
>>>
>>
>> --
>> 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.
>>
>
>
>
> --
> --Regards
> Shashwat Shukla
>
>
> --
> 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.
>
--
**Please do not print this e-mail until urgent requirement. Go Green!!
Save Papers <=> Save Trees
*BharatKumar Bagana*
**http://www.google.com/profiles/bagana.bharatkumar<http://www.google.com/profiles/bagana.bharatkumar>
*
Mobile +91 8056127652*
<[email protected]>
--
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.