C출력 결과기초 · 10점
122.
다음 C 프로그램의 실행 결과를 쓰시오. (줄이 바뀌는 곳도 그대로 쓴다)
1#include <stdio.h>23int main() {4int a = 5;5int *p = &a;6printf("%d\n", *p);7*p = *p + 4;8printf("%d %d\n", a, *p);9return 0;10}
다음 C 프로그램의 실행 결과를 쓰시오. (줄이 바뀌는 곳도 그대로 쓴다)
1#include <stdio.h>23int main() {4int a = 5;5int *p = &a;6printf("%d\n", *p);7*p = *p + 4;8printf("%d %d\n", a, *p);9return 0;10}