Physics, asked by Showman4348, 1 year ago

State the function of getchar ( ).

Answers

Answered by aryakharote
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 arjun7774
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