Language: C

char*p,E[200];M(){int r;r=T();for(;;){if(*p=='*'){p++;r*=T();}else if(*p=='/'){p++;r/=T();}elsereturn r;}}A(){int r;r=M();for(;;){if(*p=='+'){p++;r+=M();}else if(*p=='-'){p++;r-=M();}elsereturn r;}}T(){int r,l;if(*p=='('){p++;r=A();p++;}else{sscanf(p,"%d%n",&r,&l);p+=l;}return r;}main(){scanf("%*d\n");for(;~scanf("%[^=]=\n",E);){p=E;printf("%d\n",A());}}

Compiler output:
main.c:1:15: error: return type defaults to 'int' [-Wimplicit-int]
    1 | char*p,E[200];M(){int r;r=T();for(;;){if(*p=='*'){p++;r*=T();}else if(*p=='/'){p++;r/=T();}elsereturn r;}}A(){int r;r=M();for(;;){if(*p=='+'){p++;r+=M();}else if(*p=='-'){p++;r-=M();}elsereturn r;}}T(){int r,l;if(*p=='('){p++;r=A();p++;}else{sscanf(p,"%d%n",&r,&l);p+=l;}return r;}main(){scanf("%*d\n");for(;~scanf("%[^=]=\n",E);){p=E;printf("%d\n",A());}}
      |               ^
main.c: In function 'M':
main.c:1:27: error: implicit declaration of function 'T' [-Wimplicit-function-declaration]
    1 | char*p,E[200];M(){int r;r=T();for(;;){if(*p=='*'){p++;r*=T();}else if(*p=='/'){p++;r/=T();}elsereturn r;}}A(){int r;r=M();for(;;){if(*p=='+'){p++;r+=M();}else if(*p=='-'){p++;r-=M();}elsereturn r;}}T(){int r,l;if(*p=='('){p++;r=A();p++;}else{sscanf(p,"%d%n",&r,&l);p+=l;}return r;}main(){scanf("%*d\n");for(;~scanf("%[^=]=\n",E);){p=E;printf("%d\n",A());}}
      |                           ^
main.c:1:92: error: unknown type name 'elsereturn'
    1 | char*p,E[200];M(){int r;r=T();for(;;){if(*p=='*'){p++;r*=T();}else if(*p=='/'){p++;r/=T();}elsereturn r;}}A(){int r;r=M();for(;;){if(*p=='+'){p++;r+=M();}else if(*p=='-'){p++;r-=M();}elsereturn r;}}T(){int r,l;if(*p=='('){p++;r=A();p++;}else{sscanf(p,"%d%n",&r,&l);p+=l;}return r;}main(){scanf("%*d\n");for(;~scanf("%[^=]=\n",E);){p=E;printf("%d\n",A());}}
      |                                                                                            ^~~~~~~~~~
main.c: At top level:
main.c:1:107: error: return type defaults to 'int' [-Wimplicit-int]
    1 | char*p,E[200];M(){int r;r=T();for(;;){if(*p=='*'){p++;r*=T();}else if(*p=='/'){p++;r/=T();}elsereturn r;}}A(){int r;r=M();for(;;){if(*p=='+'){p++;r+=M();}else if(*p=='-'){p++;r-=M();}elsereturn r;}}T(){int r,l;if(*p=='('){p++;r=A();p++;}else{sscanf(p,"%d%n",&r,&l);p+=l;}return r;}main(){scanf("%*d\n");for(;~scanf("%[^=]=\n",E);){p=E;printf("%d\n",A());}}
      |                                                                                                           ^
main.c: In function 'A':
main.c:1:184: error: unknown type name 'elsereturn'
    1 | char*p,E[200];M(){int r;r=T();for(;;){if(*p=='*'){p++;r*=T();}else if(*p=='/'){p++;r/=T();}elsereturn r;}}A(){int r;r=M();for(;;){if(*p=='+'){p++;r+=M();}else if(*p=='-'){p++;r-=M();}elsereturn r;}}T(){int r,l;if(*p=='('){p++;r=A();p++;}else{sscanf(p,"%d%n",&r,&l);p+=l;}return r;}main(){scanf("%*d\n");for(;~scanf("%[^=]=\n",E);){p=E;printf("%d\n",A());}}
      |                                                                                                                                                                                        ^~~~~~~~~~
main.c: At top level:
main.c:1:199: error: return type defaults to 'int' [-Wimplicit-int]
    1 | char*p,E[200];M(){int r;r=T();for(;;){if(*p=='*'){p++;r*=T();}else if(*p=='/'){p++;r/=T();}elsereturn r;}}A(){int r;r=M();for(;;){if(*p=='+'){p++;r+=M();}else if(*p=='-'){p++;r-=M();}elsereturn r;}}T(){int r,l;if(*p=='('){p++;r=A();p++;}else{sscanf(p,"%d%n",&r,&l);p+=l;}return r;}main(){scanf("%*d\n");for(;~scanf("%[^=]=\n",E);){p=E;printf("%d\n",A());}}
      |                                                                                                                                                                                                       ^
main.c: In function 'T':
main.c:1:243: error: implicit declaration of function 'sscanf' [-Wimplicit-function-declaration]
    1 | char*p,E[200];M(){int r;r=T();for(;;){if(*p=='*'){p++;r*=T();}else if(*p=='/'){p++;r/=T();}elsereturn r;}}A(){int r;r=M();for(;;){if(*p=='+'){p++;r+=M();}else if(*p=='-'){p++;r-=M();}elsereturn r;}}T(){int r,l;if(*p=='('){p++;r=A();p++;}else{sscanf(p,"%d%n",&r,&l);p+=l;}return r;}main(){scanf("%*d\n");for(;~scanf("%[^=]=\n",E);){p=E;printf("%d\n",A());}}
      |                                                                                                                                                                                                                                                   ^~~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'sscanf'
  +++ |+#include <stdio.h>
    1 | char*p,E[200];M(){int r;r=T();for(;;){if(*p=='*'){p++;r*=T();}else if(*p=='/'){p++;r/=T();}elsereturn r;}}A(){int r;r=M();for(;;){if(*p=='+'){p++;r+=M();}else if(*p=='-'){p++;r-=M();}elsereturn r;}}T(){int r,l;if(*p=='('){p++;r=A();p++;}else{sscanf(p,"%d%n",&r,&l);p+=l;}return r;}main(){scanf("%*d\n");for(;~scanf("%[^=]=\n",E);){p=E;printf("%d\n",A());}}
main.c:1:243: warning: incompatible implicit declaration of built-in function 'sscanf' [-Wbuiltin-declaration-mismatch]
    1 | char*p,E[200];M(){int r;r=T();for(;;){if(*p=='*'){p++;r*=T();}else if(*p=='/'){p++;r/=T();}elsereturn r;}}A(){int r;r=M();for(;;){if(*p=='+'){p++;r+=M();}else if(*p=='-'){p++;r-=M();}elsereturn r;}}T(){int r,l;if(*p=='('){p++;r=A();p++;}else{sscanf(p,"%d%n",&r,&l);p+=l;}return r;}main(){scanf("%*d\n");for(;~scanf("%[^=]=\n",E);){p=E;printf("%d\n",A());}}
      |                                                                                                                                                                                                                                                   ^~~~~~
main.c:1:243: note: include '<stdio.h>' or provide a declaration of 'sscanf'
main.c: At top level:
main.c:1:282: error: return type defaults to 'int' [-Wimplicit-int]
    1 | char*p,E[200];M(){int r;r=T();for(;;){if(*p=='*'){p++;r*=T();}else if(*p=='/'){p++;r/=T();}elsereturn r;}}A(){int r;r=M();for(;;){if(*p=='+'){p++;r+=M();}else if(*p=='-'){p++;r-=M();}elsereturn r;}}T(){int r,l;if(*p=='('){p++;r=A();p++;}else{sscanf(p,"%d%n",&r,&l);p+=l;}return r;}main(){scanf("%*d\n");for(;~scanf("%[^=]=\n",E);){p=E;printf("%d\n",A());}}
      |                                                                                                                                                                                                                                                                                          ^~~~
main.c: In function 'main':
main.c:1:289: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    1 | char*p,E[200];M(){int r;r=T();for(;;){if(*p=='*'){p++;r*=T();}else if(*p=='/'){p++;r/=T();}elsereturn r;}}A(){int r;r=M();for(;;){if(*p=='+'){p++;r+=M();}else if(*p=='-'){p++;r-=M();}elsereturn r;}}T(){int r,l;if(*p=='('){p++;r=A();p++;}else{sscanf(p,"%d%n",&r,&l);p+=l;}return r;}main(){scanf("%*d\n");for(;~scanf("%[^=]=\n",E);){p=E;printf("%d\n",A());}}
      |                                                                                                                                                                                                                                                                                                 ^~~~~
main.c:1:289: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:1:289: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
main.c:1:289: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:1:336: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    1 | char*p,E[200];M(){int r;r=T();for(;;){if(*p=='*'){p++;r*=T();}else if(*p=='/'){p++;r/=T();}elsereturn r;}}A(){int r;r=M();for(;;){if(*p=='+'){p++;r+=M();}else if(*p=='-'){p++;r-=M();}elsereturn r;}}T(){int r,l;if(*p=='('){p++;r=A();p++;}else{sscanf(p,"%d%n",&r,&l);p+=l;}return r;}main(){scanf("%*d\n");for(;~scanf("%[^=]=\n",E);){p=E;printf("%d\n",A());}}
      |                                                                                                                                                                                                                                                                                                                                                ^~~~~~
main.c:1:336: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:336: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:1:336: note: include '<stdio.h>' or provide a declaration of 'printf'