in 1st printf.... no. of characters written are 3 and 4.... and 3 & 4 is 0 which is equal to i next 3 printf are easy... now in last printf no. of characters written by 2 printf(s) are 3 and 3 and 3 & 3 is 3 which is printed by outer printf
On Jun 29, 7:40 pm, ashwini singh <asingh...@gmail.com> wrote: > please ex-plain the o/p of each line > > o/p is > 2 23 2 > 0 > 3 > 2 2 2 23 2 > 3 > > #include<stdio.h> > #include<conio.h> > > main() > { > int i; > i=printf("%d %d",2,2) & printf("%d %d ",3,2); > printf("\n%d",i); > printf("\n%d\n",3,4); > printf("%d %d ",2,2); > printf("\n%d",printf("%d %d",2,2) & printf("%d %d",3,2)); > getch(); > > } > > -- > with regards, > Ashwini kumar singh > ECE Final yr. > MNNIT Allahabad > *Mobile: *7505519402 -- 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.