fork download
  1. #include <stdio.h>
  2. f(int a,int b)
  3. {
  4. int a;
  5. a=20;
  6. return a;
  7. }
  8.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c:2:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
 f(int a,int b)
 ^
prog.c: In function ‘f’:
prog.c:4:6: error: ‘a’ redeclared as different kind of symbol
  int a;
      ^
prog.c:2:7: note: previous definition of ‘a’ was here
 f(int a,int b)
       ^
stdout
Standard output is empty