getline() :- This function is used to store a stream of characters as entered by the user in the object memory.
push_back() :- This function is used to input a character at the end of the string.
pop_back() :- This function is used to delete the last character from the string.