I dont understand a thing

Why wee need to replace the numbers on a string with %i and the word with %s ?

Because printf needs to know how to format the argument. It doesn’t know what type it is so has to be told.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms