개발 언어 입문/C언어
프로그래머스 [Lv. 0] 문자열 붙여서 출력하기 {언어 : C언어}
스위태니
2024. 2. 14. 20:44
728x90
문제 링크
https://school.programmers.co.kr/learn/courses/30/lessons/181946?language=c
프로그래머스
코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.
programmers.co.kr
정답 코드
#include <stdio.h>
#define LEN_INPUT1 11
#define LEN_INPUT2 11
int main(void) {
char s1[LEN_INPUT1];
char s2[LEN_INPUT2];
scanf("%s %s", s1, s2);
printf(s1);
printf(s2);
return 0;
}
728x90