- There is no string type in C.
- C does have char arrays ...
- ... and a library of functions that treat special char arrays as
- an array of characters with a terminating null byte ('\0')
is treated as a string
- string functions include:
- Even though C does not have a string type, it does have string
constants, e.g., "This is a string."
|T ||h ||i ||s
|| ||i ||s ||
||a || ||s ||t
||r ||i ||n ||g ||\0
Alyce Brady, Kalamazoo College