프로그래밍 언어 활용난도 중
5번 · 주관식 · 5점
다음 C 프로그램이 구조체 포인터가 가리키는 score를 2 증가시키도록 ①에 들어갈 연산자와 최종 출력 ②를 쓰시오.
#include <stdio.h>
struct Record {
int score;
};
int main(void) {
struct Record item = {10};
struct Record *cursor = &item;
cursor ① score += 2;
printf("%d", item.score);
return 0;
}