Language: C

a[10];i;main(){for(;++i<10;)scanf("%d",&a[i]);sort(&a[0],a[9]);printf("%d\n%d\n%d",a[9],a[8],a[7]);exit(0);}

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | a[10];i;main(){for(;++i<10;)scanf("%d",&a[i]);sort(&a[0],a[9]);printf("%d\n%d\n%d",a[9],a[8],a[7]);exit(0);}
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'a' [-Wimplicit-int]
main.c:1:7: warning: data definition has no type or storage class
    1 | a[10];i;main(){for(;++i<10;)scanf("%d",&a[i]);sort(&a[0],a[9]);printf("%d\n%d\n%d",a[9],a[8],a[7]);exit(0);}
      |       ^
main.c:1:7: error: type defaults to 'int' in declaration of 'i' [-Wimplicit-int]
main.c:1:9: error: return type defaults to 'int' [-Wimplicit-int]
    1 | a[10];i;main(){for(;++i<10;)scanf("%d",&a[i]);sort(&a[0],a[9]);printf("%d\n%d\n%d",a[9],a[8],a[7]);exit(0);}
      |         ^~~~
main.c: In function 'main':
main.c:1:29: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    1 | a[10];i;main(){for(;++i<10;)scanf("%d",&a[i]);sort(&a[0],a[9]);printf("%d\n%d\n%d",a[9],a[8],a[7]);exit(0);}
      |                             ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | a[10];i;main(){for(;++i<10;)scanf("%d",&a[i]);sort(&a[0],a[9]);printf("%d\n%d\n%d",a[9],a[8],a[7]);exit(0);}
main.c:1:29: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    1 | a[10];i;main(){for(;++i<10;)scanf("%d",&a[i]);sort(&a[0],a[9]);printf("%d\n%d\n%d",a[9],a[8],a[7]);exit(0);}
      |                             ^~~~~
main.c:1:29: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:1:47: error: implicit declaration of function 'sort' [-Wimplicit-function-declaration]
    1 | a[10];i;main(){for(;++i<10;)scanf("%d",&a[i]);sort(&a[0],a[9]);printf("%d\n%d\n%d",a[9],a[8],a[7]);exit(0);}
      |                                               ^~~~
main.c:1:64: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    1 | a[10];i;main(){for(;++i<10;)scanf("%d",&a[i]);sort(&a[0],a[9]);printf("%d\n%d\n%d",a[9],a[8],a[7]);exit(0);}
      |                                                                ^~~~~~
main.c:1:64: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:64: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:1:64: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:100: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
    1 | a[10];i;main(){for(;++i<10;)scanf("%d",&a[i]);sort(&a[0],a[9]);printf("%d\n%d\n%d",a[9],a[8],a[7]);exit(0);}
      |                                                                                                    ^~~~
main.c:1:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
  +++ |+#include <stdlib.h>
    1 | a[10];i;main(){for(;++i<10;)scanf("%d",&a[i]);sort(&a[0],a[9]);printf("%d\n%d\n%d",a[9],a[8],a[7]);exit(0);}
main.c:1:100: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
    1 | a[10];i;main(){for(;++i<10;)scanf("%d",&a[i]);sort(&a[0],a[9]);printf("%d\n%d\n%d",a[9],a[8],a[7]);exit(0);}
      |                                                                                                    ^~~~
main.c:1:100: note: include '<stdlib.h>' or provide a declaration of 'exit'