Actually %
is not the modulo operand or modulo operator here because it’s included inside a string. It’s just a character chosen to separate literal text from parameters. And d
is used because it performs input and output in decimal (base 10).
Actually %
is not the modulo operand or modulo operator here because it’s included inside a string. It’s just a character chosen to separate literal text from parameters. And d
is used because it performs input and output in decimal (base 10).