char s[8];

int num = 0;


printf("정수(문자열) 입력 : ");

scanf_s("%s", &s);

num = atoi(s);

printf(" %d ", num);


return 0;


이렇게 하니까 출력이 안되는데