We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef2d9cf commit a716af5Copy full SHA for a716af5
EIP/C/README.md
@@ -199,7 +199,7 @@
199
200
- [답] 37
201
202
-- 문제7. 다음 C언어로 구현된 프로그램을 분석하여 그 실행 결과를 쓰시오. (단, 출력문의 출력 서식을 준수하시오)
+- 문제17. 다음 C언어로 구현된 프로그램을 분석하여 그 실행 결과를 쓰시오. (단, 출력문의 출력 서식을 준수하시오)
203
204
```c
205
#include <stdio.h>
@@ -216,14 +216,15 @@
216
struct jsu* p;
217
p = &st[0];
218
219
- printf("%d\n", (p+1)->hab = (p+1)->os + (p+2)->db); // 159
220
- printf("%d\n", (p+1)->hhab = (p+1)->hab + p->os + p->db); // 342
+ (p+1)->hab = (p+1)->os + (p+2)->db; // 159
+ (p+1)->hhab = (p+1)->hab + p->os + p->db; // 342
221
+
222
printf("%d\n", (p+1)->hab + (p+1)->hhab); // 501 (최종 정답, 159+342)
223
224
return 0;
225
}
226
```
-
227
228
- 답 : 501 (159+342=501 이므로)
229
230
0 commit comments