์คํ์ ์๋๋๋ฐ ๊ธ์ด ์ด์ํ๊ฒ ์ถ๋ ฅ์ด ๋์ ใ
ใ
์ ๋ค์๊ณผ ๊ฐ์ด ์ดํดํ์ต๋๋ค! #include int main(void) { char str[256]; printf("what"); //what์ ์ํ๋ ์ง๋ฌธ ๋ด์ฉ ์
๋ ฅ scanf_s("%s", str, sizeof(str)); // ๋ต๋ณ ์
๋ ฅ ์ ์
๋ ฅํ ๋ต๋ณ=str๋ก ์ ์ printf("%s", str); // ๋ฐ๋ผ์ str์ถ๋ ฅ์ ์
๋ ฅํ ๋ต๋ณ์ด ์ถ๋ ฅ return 0; }