@amit: *1. **printf *returns the length of the string it outputs. i.e. printf("%d",printf("abcd")) ==> will give 4 as output.
2. Also in printf("%*s) , %**s *tells to read the precision field from the next argument provided in printf(). Here *printf("%*s%*s",a,"",b,"") *is equivalent to* printf("%9s,%3s,"","") .. as a=9 and b=3.* * * Thus two strings of length 9 and 3 are printed. And due to the nested printf, it returns the sum 12(9+3). *printf("\n%d\n",printf("%9s%3s","","")); will also return 12.* -- Sajal Choudhary Undergraduate Student, Division of Computer Engineering, Netaji Subhas Institute of Technology, New Delhi. -- 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.