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

  1.  /* Demonstrates the equivalence of stream input and output. */
  2.  #include <stdio.h>
  3.  
  4.  main()
  5.  {
  6.      char buffer[81];;
  7.  
  8.      /* Input a line, then immediately output it. */
  9.  
  10.      puts(gets(buffer));
  11.  }
  12.