fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. char a=10;
  5. int a=100,b=50,c=25;
  6. for(a='a';a<1;a++)
  7.  
  8. printf("%c",a);
  9. return 0;
  10. }
  11.  
Compilation error #stdin compilation error #stdout 0s 4348KB
stdin
Standard input is empty
compilation info
prog.c: In function ‘main’:
prog.c:5:6: error: conflicting types for ‘a’
  int a=100,b=50,c=25;
      ^
prog.c:4:7: note: previous definition of ‘a’ was here
  char a=10;
       ^
prog.c:5:17: warning: unused variable ‘c’ [-Wunused-variable]
  int a=100,b=50,c=25;
                 ^
prog.c:5:12: warning: unused variable ‘b’ [-Wunused-variable]
  int a=100,b=50,c=25;
            ^
stdout
Standard output is empty