roll over of value....i has an upper limit
On Wed, Aug 3, 2011 at 3:39 PM, Rajesh Kumar <[email protected]>wrote:

> how i gets value 1 3 5 7......even it is initialized by 4294967295.
>
>
> On Wed, Aug 3, 2011 at 6:36 PM, ManishMCS <[email protected]> wrote:
>
>> It is going to infinite because 4294967295 is not equal to 0, so you
>> enters the loop. And in loop, you again increments the value.. So, it
>> print values lyk 1 3.. 4294967295 and again 1.. So, basically it
>> prints all odd values...
>>
>> --
>> 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
> Rajesh Kumar
>
>
> --
> 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.

Reply via email to