home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH03 / A03138.TXT < prev    next >
Encoding:
Text File  |  1993-11-05  |  356 b   |  8 lines

  1. In this example, the string literal "Dundas" is stored at the
  2. location pointed to by street_name.  A string literal has type
  3. array of char.  The last element of the array is a null character.
  4.  
  5. Contrast character constants with string literals.  Character
  6. constants are surrounded by single quotes, and they most often
  7. consist of just one character.
  8.