Stdin
Standard input, or stdin, is a standard data stream used for reading input by a program. It is one of the three standard I/O streams defined by many operating systems and programming environments, alongside standard output (stdout) and standard error (stderr). By default, stdin is connected to the keyboard in interactive programs but it can be redirected from files, devices, or other programs.
In C and C++ with the standard library, stdin is a FILE* object defined in stdio.h. It
Shells and many programming languages support redirecting or piping data into stdin. In command lines, you
Examples by language: In Python, input() reads a line from stdin. In Java, System.in provides an InputStream
Notes: Stdin is not a file by itself; it is a stream abstraction that may refer to