foo.c: In function 'main':
foo.c:32:16: warning: missing terminating " character
32 | printf("The index of %d in the array is: %d
| ^
foo.c:32:16: error: missing terminating " character
32 | printf("The index of %d in the array is: %d
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.c:33:1: warning: missing terminating " character
33 | ", x, index);
| ^
foo.c:33:1: error: missing terminating " character
33 | ", x, index);
| ^~~~~~~~~~~~~
foo.c:34:5: error: expected expression before '}' token
34 | } else {
| ^
foo.c:32:16: error: expected ';' before '}' token
32 | printf("The index of %d in the array is: %d
| ^
| ;
33 | ", x, index);
34 | } else {
| ~
foo.c:35:16: warning: missing terminating " character
35 | printf("%d not found in the array.
| ^
foo.c:35:16: error: missing terminating " character
35 | printf("%d not found in the array.
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.c:36:1: warning: missing terminating " character
36 | ", x);
| ^
foo.c:36:1: error: missing terminating " character
36 | ", x);
| ^~~~~~
foo.c:37:5: error: expected expression before '}' token
37 | }
| ^
foo.c:35:16: error: expected ';' before '}' token
35 | printf("%d not found in the array.
| ^
| ;
36 | ", x);
37 | }
| ~
[Hydro](https://hydro.ac)提供评测服务