fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. {
  5. int a;
  6. int b;
  7. int c;
  8. int d;
  9. int e;
  10. int f;
  11. int g;
  12. int h;
  13. int i;
  14. int j;
  15. int k;
  16. int l;
  17. int m;
  18. int n;
  19. int o;
  20. int p;
  21. int q;
  22. int r;
  23. int s;
  24. int t;
  25.  
  26. a=b=c=d=e=f=g=h=i=j=20;
  27. k=l=m=n=o=p=q=r=s=t=40;
  28.  
  29. printf (" %a %b %c %d %e %f %g %h %i %j %k %l %m %n %o% %p %q %r %s %t", a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t);
  30. return 0;
  31. }
  32.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c: In function ‘main’:
prog.c:29:12: warning: format ‘%a’ expects argument of type ‘double’, but argument 2 has type ‘int’ [-Wformat=]
 printf (" %a %b %c %d %e %f %g %h %i %j %k %l %m %n %o% %p %q %r %s %t", a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t);
            ^
prog.c:29:15: warning: unknown conversion type character ‘b’ in format [-Wformat=]
 printf (" %a %b %c %d %e %f %g %h %i %j %k %l %m %n %o% %p %q %r %s %t", a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t);
               ^
prog.c:29:24: warning: format ‘%e’ expects argument of type ‘double’, but argument 5 has type ‘int’ [-Wformat=]
 printf (" %a %b %c %d %e %f %g %h %i %j %k %l %m %n %o% %p %q %r %s %t", a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t);
                        ^
prog.c:29:27: warning: format ‘%f’ expects argument of type ‘double’, but argument 6 has type ‘int’ [-Wformat=]
 printf (" %a %b %c %d %e %f %g %h %i %j %k %l %m %n %o% %p %q %r %s %t", a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t);
                           ^
prog.c:29:30: warning: format ‘%g’ expects argument of type ‘double’, but argument 7 has type ‘int’ [-Wformat=]
 printf (" %a %b %c %d %e %f %g %h %i %j %k %l %m %n %o% %p %q %r %s %t", a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t);
                              ^
prog.c:29:34: warning: unknown conversion type character 0x20 in format [-Wformat=]
 printf (" %a %b %c %d %e %f %g %h %i %j %k %l %m %n %o% %p %q %r %s %t", a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t);
                                  ^
prog.c:29:40: warning: unknown conversion type character 0x20 in format [-Wformat=]
 printf (" %a %b %c %d %e %f %g %h %i %j %k %l %m %n %o% %p %q %r %s %t", a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t);
                                        ^
prog.c:29:42: warning: unknown conversion type character ‘k’ in format [-Wformat=]
 printf (" %a %b %c %d %e %f %g %h %i %j %k %l %m %n %o% %p %q %r %s %t", a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t);
                                          ^
prog.c:29:46: warning: unknown conversion type character 0x20 in format [-Wformat=]
 printf (" %a %b %c %d %e %f %g %h %i %j %k %l %m %n %o% %p %q %r %s %t", a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t);
                                              ^
prog.c:29:51: warning: format ‘%n’ expects argument of type ‘int *’, but argument 9 has type ‘int’ [-Wformat=]
 printf (" %a %b %c %d %e %f %g %h %i %j %k %l %m %n %o% %p %q %r %s %t", a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t);
                                                   ^
prog.c:29:56: warning: conversion lacks type at end of format [-Wformat=]
 printf (" %a %b %c %d %e %f %g %h %i %j %k %l %m %n %o% %p %q %r %s %t", a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t);
                                                        ^
prog.c:29:58: warning: format ‘%p’ expects argument of type ‘void *’, but argument 11 has type ‘int’ [-Wformat=]
 printf (" %a %b %c %d %e %f %g %h %i %j %k %l %m %n %o% %p %q %r %s %t", a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t);
                                                          ^
prog.c:29:62: warning: unknown conversion type character 0x20 in format [-Wformat=]
 printf (" %a %b %c %d %e %f %g %h %i %j %k %l %m %n %o% %p %q %r %s %t", a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t);
                                                              ^
prog.c:29:64: warning: unknown conversion type character ‘r’ in format [-Wformat=]
 printf (" %a %b %c %d %e %f %g %h %i %j %k %l %m %n %o% %p %q %r %s %t", a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t);
                                                                ^
prog.c:29:67: warning: format ‘%s’ expects argument of type ‘char *’, but argument 12 has type ‘int’ [-Wformat=]
 printf (" %a %b %c %d %e %f %g %h %i %j %k %l %m %n %o% %p %q %r %s %t", a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t);
                                                                   ^
prog.c:29:70: warning: conversion lacks type at end of format [-Wformat=]
 printf (" %a %b %c %d %e %f %g %h %i %j %k %l %m %n %o% %p %q %r %s %t", a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t);
                                                                      ^
prog.c:29:9: warning: too many arguments for format [-Wformat-extra-args]
 printf (" %a %b %c %d %e %f %g %h %i %j %k %l %m %n %o% %p %q %r %s %t", a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
prog.c:31:1: error: expected declaration or statement at end of input
 }
 ^
stdout
Standard output is empty