Advertisement
Guest User

Untitled

a guest
Nov 27th, 2015
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.20 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <string.h>
  4.  
  5.  
  6. char * concatenate ( char * a , char *b){
  7.    
  8.     char * aux =malloc(sizeof(char *));
  9.     strcpy(aux,a);
  10.     strcat(aux,b);
  11.  
  12.  
  13.     return aux;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement