New course! Every coder should learn Generative AI!
Try a free lesson+ 1
Pls someone explain how does getchar() work i am not understanding
3 Answers
+ 15
Akash C R Please,
Keep going with C-tutorial!š
https://www.sololearn.com/learn/C/2936/
+ 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
0
But how to give input i am not understanding pls help me out