Computer Science, asked by TbiaSamishta, 1 year ago

The character typed by the user is processed by getchar() function only after pressing the enter key. State whether the statement is True (or) False And Justify it

Answers

Answered by Secondman
1

"Yes. The given statement is true.

The character typed by the user is processed by getchar() function only after pressing the enter key.

This is because, it is a standard input function and reads from standard input stream and creates a buffer until the key enter is pressed by the user which is contrary to the behaviour of getch() which is not a standard function and does not need enter key to be pressed by the user for taking the input."

Similar questions