printf() function in C
The printf() function is used for output. It prints the given statement to the console. The syntax of printf() function is given below. The format string can be %d (integer), %c (character), %s (string), %f (float) etc. <pre><code> printf("format string",argument_list); </code></pre>