Differentiate get( ) and getline( ) function?
Plz answer I will mark as brainliest ...☺❤
Answers
Answered by
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
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