is it possible to use the code like below
i=4,j=3,k=9;
printf("%d"+printf("%d%d",i,j,k));
if it works how it is possible.....here what is the role of + ?
printf() returns the number of characters transmitted (or a negative
value if there is an error.) Either way, a number.
"%d" is a character string, which devolves to a pointer to a character.
A pointer to a character plus a number results in a new pointer
that many places further advanced in the object.
As i and j are single digits, printf("%d%d", i, j) is going to
print two characters; the k argument will be ignored because there
is no corresponding format element. The return value will thus be the
number 2 for these particular values.
2 characters further along from the beginning of "%d" is going to be
a pointer to the \0 that terminates the %d string.
printf() with an empty string (that just has the terminator) will result
in no characters being printed.
So, the end result would be to print 43, ignore the k, and do nothing
for the outer printf().