struct input{

        char str[20];
        input* link;
};
void main(){

        int i =3;
        input *head;
        input *node = (input*)malloc(sizeof(input));
        head =node;
        
        

        while(true){
                input *p =(input*)malloc(sizeof(input));
        
                scanf(\"%s\",p->str);
                
                head->link = p;
                p->link = NULL;
                head = head->link;
                printf(\"%s\",head->str);
                
                if(head->str == \'q\')
                {
                        
                        break;
                }
        }


이거 왜안되지??????? \'q\' 가 int 로 인식해서 오류 나거든??? 그래서 \"q\" 로 바꾸면.. 종료가안돼.... q 를입력해도 안되는데 이유가뭐지?