[쉽게 풀어 쓴 C언어 Express] 16장 Exercise 해답 솔루션 답지
1. (4) 2. (1) fflush() (2) fgets() (3) feof() (4) fscanf() 3. (3) 4. (a) int i; scanf("%d", i); -> int i; scanf("%d", &i); (b) double d; scanf("%f", &d); -> double d; scanf("%lf", &d); (c) char s[10]; scanf("%c", s[2]); -> char s[10]; scanf("%c", &s[2]); (d) float f; scanf("%d", &f); -> float f; scanf("%f", &f); 5. (a) afp = fopen("junk.txt", "a"); (b) pfp = fopen("para.txt", "w+"); (c) bfp = fo..
2020. 4. 17.