home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / listings / v_10_07 / 1007092a < prev    next >
Text File  |  1992-05-05  |  311b  |  14 lines

  1.  
  2. void get_message_static(char *string)
  3.         {
  4.         static char *p_static = "Some string";
  5.         strcpy(string, p_static);
  6.         return;
  7.         }
  8. void get_message_auto(char *string)
  9.         {
  10.         char *p_auto = "Some string";
  11.         strcpy(string, p_auto);
  12.         return;
  13.         }
  14.