% notation is called a format specifier. The printf() family of functions uses % character as a placeholder. When a % is encountered, printf reads the characters following the % to determine what to do:


%s - Take the next argument and print it as a string
%d - Take the next argument and print it as an int

Here 'd' in %d is 'decimal'.