Unformatted input/output functions

Unformatted console input/output functions are used to read a single input from the user at console and it also allows us to display the value in the output to the user at the console. Unformatted input and output functions do not require any format specifiers.

getch():
Reads a single character from the user at the console,without echoing it. 
getche():
Reads a single character from the user at the console,and echoing it. 
getchar():
Reads a single character from the user at the console,and echoing it, but needs an Enter key to be pressed at the end. 
gets():
Reads a single string entered by the user at the console.
puts():
Displays a single string's value at the console. 
putch():
Displays a single character value at the console. 
putchar():
Displays a single character value at the console. 

No comments

Theme images by Jason Morrow. Powered by Blogger.