프로그래밍 언어 활용난도 중상
12번 · 주관식 · 5점
다음 C 코드를 실행했을 때의 출력값을 쓰시오.
#include <stdio.h>
typedef unsigned int *(*Mover)(unsigned int *);
unsigned int *advance_one(unsigned int *position) {
return position + 1;
}
int main(void) {
unsigned int values[] = {16u, 32u};
Mover move = advance_one;
unsigned int selected = *move(values);
printf("%x", selected);
return 0;
}