+ 1

Inputs

How does getchar() work?

9th Jun 2020, 9:59 PM
Bayanda Khambule
Bayanda Khambule - avatar
5 Réponses
+ 3
Read solo lesson
11th Jun 2020, 4:58 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 2
Hope this will clear things : https://en.cppreference.com/w/c/io/getchar
9th Jun 2020, 10:12 PM
Daniel Săvescu
Daniel Săvescu - avatar
+ 1
getchar() reads from standard input. So getchar() is equivalent to getc(stdin)
9th Jun 2020, 10:01 PM
Daniel Săvescu
Daniel Săvescu - avatar
0
You can use getchar() to read any part of the input?
9th Jun 2020, 10:04 PM
Bayanda Khambule
Bayanda Khambule - avatar
0
Gets the character which we inputs...
10th Jun 2020, 5:37 AM
Sahasri Manimendra
Sahasri Manimendra - avatar