What's the use of getchar() I don't understand | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What's the use of getchar() I don't understand

1st Jul 2020, 6:07 AM
Alamelu Chandrashekar
4 Answers
+ 17
Alamelu Chandrashekar getchar():- This function is used to read a character from input stream. https://www.sololearn.com/learn/C/2914/
1st Jul 2020, 6:15 AM
💕₽ΔŘI💕
💕₽ΔŘI💕 - avatar
0
I tried using integers it didn't show any errors
1st Jul 2020, 6:19 AM
Alamelu Chandrashekar
0
Input -65 Output-54
3rd Jul 2020, 6:16 AM
Alamelu Chandrashekar
0
Even if I enter 66 my output is 54
3rd Jul 2020, 6:19 AM
Alamelu Chandrashekar