I need to know what the difference exists between getche, getc, getch and getchar? and how and when to use them? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 8

I need to know what the difference exists between getche, getc, getch and getchar? and how and when to use them?

22nd Jul 2019, 2:47 AM
José Cleto
José Cleto - avatar
2 Answers
+ 7
thank you for the help..
22nd Jul 2019, 6:47 AM
José Cleto
José Cleto - avatar
+ 6
if gets can cause problems when writing strings, because of overflow, indicating a certain number in the string and scanf does not allow spacing. What can I do? what's the best option?
22nd Jul 2019, 6:50 AM
José Cleto
José Cleto - avatar