Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include<string.h>
- #include<stdio.h>
- using namespace std;
- char s[100],c[10],aux[150],*p;
- int main()
- {int n;
- cin>>n;
- gets(s);
- gets(c);
- strcpy(aux,s+n);
- strcpy(s+n,c);
- strcpy(s+n+strlen(c),aux);
- cout<<s;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement