C-Print() Function

printf() function

The printf() function is used for output. 

It prints the given statement to the console.

The syntax of printf() function is given below.


printf("format string",argument_list);  


For Example

#include<sdtio.h>

int main()

{

    printf(" hello ClassZones!");
}


output:

ClassZones!