Which character is automatically added to strings in C++?

Q21. Which character is automatically added to strings in C++?       

Ans. Each string-literal is by default (automatically) added with a special character ‘\0’.

Leave a Reply

Your email address will not be published. Required fields are marked *