2d character array

how does the functions get() and getline() works?

get() extracts char by char from a stream and returns its value whereas
getline() is used to get a line from a file line by line.
by default delimiter for getline is ‘\n’ (new line) you can also pass any delimiter

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.