---------- Forwarded message ---------- From: siva viknesh <sivavikne...@gmail.com> Date: Mon, Dec 13, 2010 at 8:45 PM Subject: What would be the output of the following program..? To: mit_cod...@googlegroups.com, mitcse08i...@googlegroups.com
int main() { int i=0; while(+(+i--)!=0) i-=i++; printf("%d\n",i); return 0; } (a) -1 (b) 1 (c) -65535 (d) 0 Ans is option 'a' .. but how?? anybody help plz? -- 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.