printf("\nn = %*d", 5, 4);
and the output is:
n = 4
(yea! there are spaces between = and 4)
if i am providing only one argument 5 instead of 5 and 4 i get an error stating too few arguments. What in the world is the "*" is doing in this program. Are there any other such char which could be used in a format specifier?