" [ ] meas addtion " is addition is base address so 3 +"Ya!Hello! how is
this? %s\n"
become "Hello! how is this? %s\n" cause of add 3 in base address in
followed string ;
this result as format specifier in printf funcution ; same as for second
perameter ;
5+"junk/super" become "super" string reson is same s above;
statment 2:
3+ "WHAT%c%c%c %c%c %c !\n" is "T%c%c%c %c%c %c !\n" is format
specifier print "T"
1+"this" become "his" thereby print T form first orgument and 'h ' from
2nd orgument cause of %c ; "Th"
2+"beauty" is become "auty" and it will print 'a' cause of %c :
"Tha"
0+"tool" is "tool" will print 't' cause of %c
"That"
0+"is" become "is" will print 'i' cuase of %c :
"That i"
3+"sensitive" result "sitive" will print 's' reson again same %c
"That is"
4+"CCCCCC" result "CC" so it print 'C' cause of %c
" That is C"
hence it printing this result :
i hope your query is now clear
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/algogeeks?hl=en.