Www.mitntraining.com

A C program has three built-in file streams: stdin, stderr and stdout. When you use scanf you are reading from stdin. When you use printf you are writing to stdout. The following table shows how you can redirect the three streams when calling a.out. Command Stdin Stdout Stderr ................
................