Can you explain with this printf statement is doing? printf("%*c",space,'*');
I understand that the %c is identifying the data type that will be printed but I'm not sure I understand what the asterisk is doing between the % and the c. Also, the ,space, portion of the statement... Space is an integer data type variable which in this code initially has a value of 16 (and is later decremented and thus the space reduces by one in the next loop). My question is, what part of that statement is handling the actual leading space itself?