Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- string xenke(string s1, string s2)
- {
- int n=0;
- string temp;
- while (s1[n]!=NULL || s2[n]!=NULL)
- {
- if (s1[n]!=NULL) temp+=s1[n];
- if (s2[n]!=NULL) temp+=s2[n];
- n++;
- }
- return temp;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement