[algogeeks] Re: data type size problem

2011-08-03 Thread ManishMCS
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

Re: [algogeeks] Re: data type size problem

2011-08-03 Thread Rajesh Kumar
how i gets value 1 3 5 7..even it is initialized by 4294967295. On Wed, Aug 3, 2011 at 6:36 PM, ManishMCS manishdaw...@gmail.com 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

Re: [algogeeks] Re: data type size problem

2011-08-03 Thread Arun Vishwanathan
roll over of valuei has an upper limit On Wed, Aug 3, 2011 at 3:39 PM, Rajesh Kumar testalgori...@gmail.comwrote: how i gets value 1 3 5 7..even it is initialized by 4294967295. On Wed, Aug 3, 2011 at 6:36 PM, ManishMCS manishdaw...@gmail.com wrote: It is going to infinite because

Re: [algogeeks] Re: data type size problem

2011-08-03 Thread Rajesh Kumar
plz explain what is roll over of value? On Wed, Aug 3, 2011 at 7:11 PM, Arun Vishwanathan aaron.nar...@gmail.comwrote: roll over of valuei has an upper limit On Wed, Aug 3, 2011 at 3:39 PM, Rajesh Kumar testalgori...@gmail.comwrote: how i gets value 1 3 5 7..even it is initialized