Language: C

#include<stdio.h>

main(){
    int a[],b[],i=0,j,c;
    char op[];
    while(1){
        scanf("%d %c %d",&a,&op,&b);
        if(op[i]=='?') break;
        switch(op)
            case '+' : c=a+b break;
            case '-' : c=a-b break;
            case '*' : c=a*b break;
            case '/' : c=a/b break;
      printf("%d\n",c);
     ｝
}


Compiler output:
main.c:3:1: error: return type defaults to 'int' [-Wimplicit-int]
    3 | main(){
      | ^~~~
main.c: In function 'main':
main.c:4:9: error: array size missing in 'a'
    4 |     int a[],b[],i=0,j,c;
      |         ^
main.c:4:13: error: array size missing in 'b'
    4 |     int a[],b[],i=0,j,c;
      |             ^
main.c:5:10: error: array size missing in 'op'
    5 |     char op[];
      |          ^~
main.c:9:16: error: switch quantity not an integer
    9 |         switch(op)
      |                ^~
main.c:10:27: error: invalid operands to binary + (have 'int *' and 'int *')
   10 |             case '+' : c=a+b break;
      |                          ~^
      |                          ||
      |                          |int *
      |                          int *
main.c:10:29: error: expected ';' before 'break'
   10 |             case '+' : c=a+b break;
      |                             ^~~~~~
      |                             ;
main.c:11:13: error: case label not within a switch statement
   11 |             case '-' : c=a-b break;
      |             ^~~~
main.c:11:29: error: expected ';' before 'break'
   11 |             case '-' : c=a-b break;
      |                             ^~~~~~
      |                             ;
main.c:12:13: error: case label not within a switch statement
   12 |             case '*' : c=a*b break;
      |             ^~~~
main.c:12:27: error: invalid operands to binary * (have 'int *' and 'int *')
   12 |             case '*' : c=a*b break;
      |                          ~^
      |                          ||
      |                          |int *
      |                          int *
main.c:12:29: error: expected ';' before 'break'
   12 |             case '*' : c=a*b break;
      |                             ^~~~~~
      |                             ;
main.c:13:13: error: case label not within a switch statement
   13 |             case '/' : c=a/b break;
      |             ^~~~
main.c:13:27: error: invalid operands to binary / (have 'int *' and 'int *')
   13 |             case '/' : c=a/b break;
      |                          ~^
      |                          ||
      |                          |int *
      |                          int *
main.c:13:29: error: expected ';' before 'break'
   13 |             case '/' : c=a/b break;
      |                             ^~~~~~
      |                             ;
main.c:15:6: error: '\U0000ff5d' undeclared (first use in this function)
   15 |      ｝
      |      ^~
main.c:15:6: note: each undeclared identifier is reported only once for each function it appears in
main.c:15:8: error: expected ';' before '}' token
   15 |      ｝
      |        ^
      |        ;
   16 | }
      | ~       
main.c:16:1: error: expected declaration or statement at end of input
   16 | }
      | ^