home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 5 / 05.iso / a / a120 / 1.ddi / WATCOM_C / WAT126.C < prev    next >
Encoding:
C/C++ Source or Header  |  1992-06-08  |  545 b   |  16 lines

  1. /*------------------------------------------------------------------*/
  2. /* ╡{ªí└╔ªW║┘: wat126.c                                             */
  3. /*------------------------------------------------------------------*/
  4. #include <stdio.h>
  5. #include <string.h>
  6.  
  7. void main()
  8. {
  9.      char *dst = "⌐pº╓╝╓╢▄ ?";
  10.      char *src = "º┌½▄º╓╝╓ !";
  11.  
  12.      printf("░⌡ªµ memmove() ¿τ╝╞½e dst ⌐╥½ⁿñº╜w╜─░╧ñº╕Ω«╞¼░: %s\n", dst);
  13.      memmove(dst+strlen(dst), src, strlen(src));
  14.      printf("░⌡ªµ memmove() ¿τ╝╞½ß dst ⌐╥½ⁿñº╜w╜─░╧ñº╕Ω«╞¼░: %s\n", dst);
  15. }
  16.