+ 2

Use of stdin and stdout

What is the basic concept of stdin and stdout in c and how am i supposed to use it ?

31st Mar 2019, 4:33 PM
Shikher Jaitly
Shikher Jaitly - avatar
1 Answer
+ 10
STDIN and STDOUT are the file pointers that are automatically defined at the moment of the program execution: stdin gets input from the keyboard, functions that read stdin are: - scanf() - gets() - getchar() stdout sends data to the screen, functions that write to stdout are: - printf() - puts() - putchar()
31st Mar 2019, 7:38 PM
Andrea Leoni
Andrea Leoni - avatar