What is the difference between get and getline function? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is the difference between get and getline function?

8th Dec 2017, 3:43 PM
Pawan Kumar
Pawan Kumar - avatar
1 Answer
+ 7
Get is a normal function. Getline just gets a whole line. That's why it is named so.
8th Dec 2017, 3:45 PM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar