please tell the mistake in my code it displays only empty lines .
Output printed is always blank
if you are using string then alway use push_back() and pop_back() functions
Modified Code
can you please tell me the rea
reason behind it please
in any stl either string or vector
without intialization you can’t use [] operator but can use functions on it
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.