State the function of getchar ( ).
Answers
Answered by
3
getch () statement i.e get character statement is used in C language to obtain the output on output screen after we run the program. The output remains on the screen till we press space.
Answered by
2
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.
Similar questions
Accountancy,
7 months ago
English,
7 months ago
Physics,
7 months ago
Physics,
1 year ago
Math,
1 year ago