Computer Science, asked by Priyanka422, 11 months ago

Differentiate get( ) and getline( ) function?

Plz answer I will mark as brainliest ...☺❤

Answers

Answered by jewanharry36149
3
Hey mate here is your answer
Difference between get() getline( ) is
The getline( ) function needs a whole line, and using the newline character transmitted by the Enter key to mark the end of input .
The get( ) function is to read and discard the newline character
Hope this will help you!!!
plz mark me as brainliest
Similar questions