fork download
  1. #include <stdio.h>
  2. #include <math.h>
  3. #define letter 10
  4. #define DIGIT 10
  5.  
  6. int main(void)
  7. {
  8. short char c;
  9. long int m; count;
  10. exponent alpha,beta;
  11. }
  12.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c: In function ‘main’:
prog.c:8:8: error: both ‘short’ and ‘char’ in declaration specifiers
  short char c;
        ^~~~
prog.c:9:14: error: ‘count’ undeclared (first use in this function)
  long int m; count;
              ^~~~~
prog.c:9:14: note: each undeclared identifier is reported only once for each function it appears in
prog.c:10:2: error: unknown type name ‘exponent’
  exponent alpha,beta;
  ^~~~~~~~
prog.c:10:17: warning: unused variable ‘beta’ [-Wunused-variable]
  exponent alpha,beta;
                 ^~~~
prog.c:10:11: warning: unused variable ‘alpha’ [-Wunused-variable]
  exponent alpha,beta;
           ^~~~~
prog.c:9:11: warning: unused variable ‘m’ [-Wunused-variable]
  long int m; count;
           ^
prog.c:8:13: warning: unused variable ‘c’ [-Wunused-variable]
  short char c;
             ^
stdout
Standard output is empty