1. Single character functions:
This function is used to read or print a character at a time.
getchar(): It reads a character from the keyboard and store it in a character variable.
Eg. char ch;
ch=getchar();
putchar(): This function is used to print a character on the screen.
Eg. char ch;
ch=getcharO;
putchar(ch);
2. String functions: This function is used to read or print a string.
gets(): This function is used to read a string from the keyboard and store it in a character variable.
Eg. char str[80];
gets(str);
puts(): This function is used to display a string on the screen.
Eg. char str[80];
gets(str);
puts(str);