1 |
There are two types of strings defined by a stream of characters inside either single quotes ' and ' or double quotes " and "
|
2 |
Single quoted strings are the simplest but probably least often used.
|
3 |
Inside such strings ALL characters including newlines are treated as they look except that ' must be represented as \' and \ as \\.
-
\n does NOT represent a newline.
-
Example: 'don\'t' is the 5 character don't
|
4 |
As in C ALL strings are stored as zero byte terminated byte streams so that
-
'' and "" are both stored internally as one byte 00 (octal zero)
|