hi,
please explain how getline() function work in case of strings.
thanks
Getline() function in string
@vatsal50 hi you can refer to this documentation http://www.cplusplus.com/reference/istream/istream/getline/
http://www.cplusplus.com/reference/string/string/getline/
Feel free to ask if you have any doubts regarding this.