+ 2
How getchar used what is the advantages
C language begineers
2 Respuestas
+ 4
Hi.... getchar function in C programming language it's reads a single character from the standard input stream stdin, regardless of what it is, and returns it to the program.
*prototype*: int getchar(void);
https://code.sololearn.com/cbq9zWcRKGuj/?ref=app
+ 1
Hi,
getchar is a function in C programming language that reads a single character from the standard input stream stdin, regardless of what it is, and returns it to the program. It is specified in ANSI-C and is the most basic input function in C. It is included in the stdio. h header file.
int getchar() = Returns the next character from the standard input (stdin). Basically read one character at a time. ... It allows you to deal with any type of input/output without knowing their exact data type
Refer following site:
https://www.tutorialspoint.com/c_standard_library/c_function_getchar.htm