home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / _DISK_ / ch1 / output.c < prev    next >
C/C++ Source or Header  |  2005-06-16  |  334b  |  15 lines

  1. /*                    output.c 
  2.  *
  3.  *   Synopsis  - Displays a message on the terminal screen.
  4.  *
  5.  *   Objective - Illustrate a printf() call for output in C.
  6.  */
  7.  
  8. #include <stdio.h>                        /* Note 1 */
  9.  
  10. int main(void)
  11. {
  12.      printf("C by Discovery\n");          /* Notes 2, 3, and 4 */
  13.      return 0;
  14. }
  15.