#include<stdio.h> #include<conio.h> void main() { clrscr(); int x=1,y=1,z=1; x+=y+=z; printf("\n %d\n ",x<y?y:x); printf("\n %d\n",x<y?x++:y++); printf("\n %d %d\n",x,y); printf("\n %d\n",z+=x<y?x++:y++); printf("\n %d %d %d\n",x,y,z); x=3;y=z=4; printf("\n %d\n",z>=y>=x?1:0); printf("\n %d\n",z>=y&&y>=x); getch(); }
I m getting o/p as-- 3 2 3 3 4 3 4 4 0 1 I m confusing fm fourth printf...plz explain me.......... Vijay............. -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@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.