Articles added in Mathematics Lab | Cyber Lab is now open | Astronomy Lab is now open | VLSI Lab is now open | 120 SEO Tips article published | More exciting articles coming soon!




Header File stdio.h

This is a header file that contains some of the C input/output functions.The commonly used functions are listed below:


getchar():

This function is used to enter single characters.It does not requires any arguments.This function can also be used to read multiple character strings by reading one character at a time.



putchar():

This function is used to display single characters.It takes only one argument.This function can also be used to display a string constant.


gets():

This function is used to enter a string from the keyboard and is termintated when the user presses the ENTER key.It takes single argument in the form of a string


puts():

This function is used to display a string from the keyboard and is terminated when the user presses the ENTER key.It takes single argument in the form of a string.


scanf():

It is used to enter data items such as variables,constants,strings, single characters,numerics ,etc.In general the scanf function is written as:
    scanf(format string,argument list);
where format string is a string which contains required formatting information and argument list contains the input data items separated by coma. Every data item must be preceded by an ampersand(&).

printf():

It is used to display data items such as variables,constants,strings,single characters,numerics ,etc.In general the printf function is written as:
    printf(format string,argument list);
where format string is a string which contains required formatting information and argument list conatins the input data items separated by coma.Arguments in printf function are never preceded by an amperand(&).













CACKLE comment system





Programming Resources
Computer Networking Fundamentals Android Application