home *** CD-ROM | disk | FTP | other *** search
/ C Programming Starter Kit 2.0 / SamsPublishing-CProgrammingStarterKit-v2.0-Win31.iso / tyc / list15_5.c < prev    next >
C/C++ Source or Header  |  1993-10-16  |  323b  |  14 lines

  1.  /* Initializing an array of pointers to type char. */
  2.  
  3.  #include <stdio.h>
  4.  
  5.  main()
  6.  {
  7.      char *message[8] = { "Four", "score", "and", "seven",
  8.                      "years", "ago,", "our", "forefathers" };
  9.      int count;
  10.  
  11.      for (count = 0; count < 8; count++)
  12.          printf("%s ", message[count]);
  13.  }
  14.