From where will the getchar() function take input from and how does it know from where to take input....? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

From where will the getchar() function take input from and how does it know from where to take input....?

13th Jun 2019, 6:57 AM
Akash C R
Akash C R - avatar
3 Answers
0
It doesn't take any parameter so the next character is it's input. Check this https://www.tutorialspoint.com/c_standard_library/c_function_getchar.htm
13th Jun 2019, 7:03 AM
Fumikage Tokoyami
Fumikage Tokoyami - avatar
0
How can a user give input....? Not programmer
13th Jun 2019, 7:06 AM
Akash C R
Akash C R - avatar
0
Pls someone explain how does this getchar() work i am not understanding
13th Jun 2019, 7:09 AM
Akash C R
Akash C R - avatar