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!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
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 Antworten
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