Literals/String: Difference between revisions
Content deleted Content added
→{{header|C}}: example consistent with the text |
|||
Line 22:
Strings are contained in double quotes.
char str[] = "
This means that 'z' and "z" are different. The former is a character while the latter is a string, an array of
C has no raw string feature and no way of literally quoting a string containing line breaks. C also has no built-in mechanism for expanding variables within strings.
|