#include <stdio.h>

#include <conio.h>

#include <string.h>


void txt(const char* test)

{

    printf("「%s 」",test);

    getchar();

}


int main() 

{

    char name[10];

    txt("안녕하십니까?");

    txt("당신의 이름을 입력하세요.");

    printf("당신의 이름을 입력:");

    scanf("%s",name);

    txt(("안녕하세요 %s 님!",name));


}

이렇게 하니 빨강색 표시된 부분에 에러가 안떠서 성공한줄 알았는데 

안녕하세요 *입력한이름* 님! 

이라고 출력이 안되고 

*입력한이름*  

만 출력이 되네요....... 어디를 고쳐야 할까요?