Pls someone explain how does getchar() work i am not understanding | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

Pls someone explain how does getchar() work i am not understanding

13th Jun 2019, 7:10 AM
Akash C R
Akash C R - avatar
3 Antworten
+ 15
Akash C R Please, Keep going with C-tutorial!👍 https://www.sololearn.com/learn/C/2936/
13th Jun 2019, 8:07 AM
Danijel Ivanović
Danijel Ivanović - avatar
+ 7
getchar() reads a single character of input and returns that character as the value of the function. If there is an error reading the character, or if the end of input is reached, getchar() returns a special value, represented by "EOF". https://stackoverflow.com/questions/3676796/how-does-getchar-work
13th Jun 2019, 7:16 AM
Abhivarshini Maddala
Abhivarshini Maddala - avatar
0
But how to give input i am not understanding pls help me out
13th Jun 2019, 7:18 AM
Akash C R
Akash C R - avatar