Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- char *Teste (char *,const char *);
- int main (){
- char a[20]="ace", b[10]="bdf";
- printf ("\n%s", Teste(&a,&b));
- return 0;
- }
- char *Teste (char *s1,const char *s2){
- char *aux =s1;
- while(*s1){
- s1++;
- }
- for (;(*s1 = *s2)!='\0';s1++,s2++);
- return aux;
- }
- while (!eof){
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement