0
Difference between scanf and gets,getchar
3 Answers
+ 3
you post this twice, pleas delete this one
+ 2
scanf is a scan function, it will get any input according to how you format it (eg. %d, %s). gets is a get string function that gets a string input. getchar is a get character function that only takes in characters. scanf is probably the safest and best of those options
0
Plz use the search box..
https://www.sololearn.com/discuss/1494838/?ref=app
https://www.sololearn.com/discuss/730775/?ref=app
https://www.sololearn.com/discuss/1274814/?ref=app
https://www.sololearn.com/discuss/1378497/?ref=app
https://www.sololearn.com/discuss/1652923/?ref=app
https://www.sololearn.com/discuss/1508473/?ref=app
Sololearn rules...
https://www.sololearn.com/discuss/1316935/?ref=app