Sign in to follow this  

string vs string literals.

Recommended Posts

I am currently reading a book called "[url=""][color=#b22222][i][b]Accelerated C++ Practical Programming by Example[/b][/i][/color][/url]" by Andrew Koenig and Barbara E. Moo and am confused on the difference between a string and a string literal.

Here is the excerpt from what I read:

The second new idea is that we can use + to [i][b]concatenate[/b][/i] a string and a string literal--or, for that matter, two strings (but not two string literals).
[/quote] Edited by markrodgers11

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this