The input and output can also be given with other functions in C language.The below figure shows types of C Input Output functions
Output can also be given with the help of putchar(), puts() functions also.
putchar will display a single character at a time on the screen. To print many characters, then use loop statements.
puts()will display the string followed by a new line(\n).
Input can also be given using the gets() and getchar() functions.
getchar()function reads characters one by one until the return() statement is approached. To read all the characters at a time then use loops. It reads the data and stores in a variable.
gets() function reads entire line given by the user through keyboard from stdin file and assigns a null character at the end.
void main( )
printf("Enter a character");