What are the commonly used input output functions in C and how they are accesed?

Commonly used input/out functions in C are:

* printf( )

* scanf( )

scanf() it is the standard input functions. It is used to get the data from the input devices, which is by default a keyboard, at run time, or execution time. Its general format is:

scanf("one or more format specifier",& one or more variables separated by comma);

For example:

scanf("%d",&a);

scanf("%d%,&a,&b);

printf() It is the standard output functions it is used to show the data to an output device, which is by default a monitor screen, at run time, or execution time. Its general format is:

In case of displaying the message:

printf("Type the message here");

for example:

printf("Hello World");

In case of printing the value:

printf("one or more format specifier", & one or more variables separated by comma);

for example:

scanf("%d",&a);

scanf("%d%f",&a,&b);