Computer Science, asked by SamayraaSingh00, 1 year ago

Why we are using getchar in program...

Answers

Answered by Anonymous
5

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.

<marquee> StarkAman✔

Answered by Anonymous
3

In a progran we are using getchar because it is an unformatted input function supported by c language .

it is un -buffered input function.

this functions waits for users to press a key from keyboard and instantly transfers the value into the variable...

hopes helps....


Anonymous: great answer
Anonymous: thanks
SamayraaSingh00: Ya great answer
Anonymous: well thanks dear
Similar questions