Respuesta :

They are placeholders for formatted input/output. %d is for integers, %f or %g are for floating point numbers. If you take a look at the printf man page, it will explain in more detail what all you can do