Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <string.h>
- int main() {
- char first_string[32];
- char second_string[32];
- scanf("%s", first_string);
- scanf("%s", second_string);
- int i;
- for(i = 0; first_string[i] != '\0'; i++) {
- printf("%c", first_string[i]);
- }
- for(i = 0; second_string[i] != '\0'; i++) {
- printf("%c", second_string[i]);
- }
- printf("\n");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment