SHARE
TWEET

Untitled

a guest Sep 13th, 2018 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdio.h>
  2.  
  3. void strcpy(char *s, char *t){
  4.     while((*s++ = *t++) != '\0'){
  5.         ;  
  6.     }
  7. }  
  8.  
  9. int main(){
  10.     char a[] = "hello world";
  11.     char b[] = "hello the world";
  12.     strcpy(a,b);
  13.     return 0;
  14. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top