0_0_29874580_3848.c: In function 'main':
0_0_29874580_3848.c:5:5: error: address of register variable 'val' requested
while (~scanf("%d", &val)) {
^
0_0_29874580_3848.c:6:9: error: address of register variable 'val' requested
printf("%d\n", val[val[0]]);
^
|