@Sharad i am getting ths o/p on gcc 1 2 3 4 ... ...
which compiler you are using ? Mohit Ranjan On Sat, Jun 5, 2010 at 1:44 PM, sharad <[email protected]> wrote: > #include<stdio.h> > int main() > { > short int i=0; > for(i<=5&&i>=-1;++i;i>0) > printf("%u\n",i); > return 0; > } > > o/p coming is 1...4,294,967,295 > short int is of 2 bytes > can any one plzz explain the o/p > > -- > 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]<algogeeks%[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.
