0

How can we put getchar and putchar in practical use?

Can you please put specific examples.

24th May 2019, 5:49 AM
Prakash munjewar
Prakash munjewar - avatar
1 ответ
+ 3
when you need user to input just a char and not a string, getchar comes in handy, and so is the putchar just to print a single char, you can also use the getchar to taking in series of values in an array using it in a loop
24th May 2019, 6:14 AM
✳AsterisK✳
✳AsterisK✳ - avatar