+ 7
What is difference between gets(), getline() and cin>>??
2 Antworten
+ 4
Thank u Sai
+ 2
gets()-used to get char input
getline()-used to get string type input
cin>>Its an input stream that allows you to get data from the user eg integers,strings,chars etc