C출력 결과보통 · 20점
188.
다음 C 프로그램의 실행 결과를 쓰시오.
1#include <stdio.h>23struct Node {4int val;5struct Node *next;6};78int main() {9struct Node c = {6, NULL};10struct Node b = {3, &c};11struct Node a = {5, &b};12struct Node *p = &a;13int acc = 0;14while (p != NULL) {15acc = (acc << 1) ^ p->val;16p = p->next;17}18printf("%d\n", acc);19printf("%d\n", acc & 7);20return 0;21}