Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <string.h>
- #include <stdlib.h>
- #include <stdio.h>
- int main()
- {
- char s1[5] = "hello";
- char s2[5] = "world";
- char *new;
- new = strcat(s1, s2);
- printf("%s\n", new);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement