what's the output for following program? #include<stdio.h> int main() { int i = 0; char ch = 'A'; do{ printf("%c", ch);
} while (i++ <5|| ++ch <= 'F'); return 0; } (a) ABCDEF (b) AAAAAA BCDEF (c) A will be displayed infinitely (d) None of the above On Mon, Dec 13, 2010 at 10:39 PM, siva viknesh <sivavikne...@gmail.com>wrote: > #include<stdio.h> > int main() > { > int x = 5; > printf("%d %d", x++, ++x); > > return 0; > > } > > for this output is "6 7" ... how evaluation proceeds?? > > -- > Regards, > $iva > > -- Regards, $iva -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algoge...@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.