getchar(): This function is used to read a single character from the standard input (keyboard) and returns it as an integer value.
putchar(): This function is used to write a single character to the standard output (console) and returns the character written as an unsigned char cast to an int.
scanf(): This function is used to read formatted input from the standard input (keyboard). It takes a format string and a list of pointers to variables where the input values will be stored.
printf(): This function is used to print formatted output to the standard output (console). It takes a format string and a list of values to be formatted and printed.
Program:
Program.c
Resources :
Test Your Knowledge
Choose The
With supporting text below as a natural lead-in to additional content.