SDDD

kimseunghoo · February 07, 2026
#include <stdio.h>
#include <string.h>
int main() {
char str1[10];
char str2[10];
    scanf("%s",str1);
    scanf("%s",str2);
    for(int i=0;i<strlen(str1);i++){
        printf("%c",str1[i]);
    }
    printf("&");
    for(int i=0;i<strlen(str2);i++){
        printf("%c",str2[i]);
    }

    

}
Output

Comments

Please sign up or log in to contribute to the discussion.