fork download
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5. //* variable definition: */
  6. int a,b,c,d,e,f,g,h,i,j,k,l,m;
  7.  
  8. //* variable initialization */
  9. Set a=11;
  10. Set b=10;
  11. Set c=(a*b);
  12. Set d=10;
  13. Set e=13;
  14. Set f=(d*e);
  15. Set g=11;
  16. Set h=12;
  17. Set i=(g*h);
  18. Set j=10;
  19. Set k=12;
  20. Set l=(j*k);
  21. Set m=(c+f+i+l);
  22.  
  23. printf("Integers (a,b,c,d,e,f,g,h,i,j,k,l,) and sum (m) %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d \n", a,b,c,d,e,f,g,h,i,j,k,l,m);
  24. return 0;
  25.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c: In function 'main':
prog.c:9:1: error: unknown type name 'Set'
 Set a=11;
 ^
prog.c:9:5: error: redeclaration of 'a' with no linkage
 Set a=11;
     ^
prog.c:6:21: note: previous declaration of 'a' was here
                 int a,b,c,d,e,f,g,h,i,j,k,l,m;
                     ^
prog.c:10:1: error: unknown type name 'Set'
 Set b=10;
 ^
prog.c:10:5: error: redeclaration of 'b' with no linkage
 Set b=10;
     ^
prog.c:6:23: note: previous declaration of 'b' was here
                 int a,b,c,d,e,f,g,h,i,j,k,l,m;
                       ^
prog.c:11:1: error: unknown type name 'Set'
 Set c=(a*b);
 ^
prog.c:11:5: error: redeclaration of 'c' with no linkage
 Set c=(a*b);
     ^
prog.c:6:25: note: previous declaration of 'c' was here
                 int a,b,c,d,e,f,g,h,i,j,k,l,m;
                         ^
prog.c:12:1: error: unknown type name 'Set'
 Set d=10;
 ^
prog.c:12:5: error: redeclaration of 'd' with no linkage
 Set d=10;
     ^
prog.c:6:27: note: previous declaration of 'd' was here
                 int a,b,c,d,e,f,g,h,i,j,k,l,m;
                           ^
prog.c:13:1: error: unknown type name 'Set'
 Set e=13;
 ^
prog.c:13:5: error: redeclaration of 'e' with no linkage
 Set e=13;
     ^
prog.c:6:29: note: previous declaration of 'e' was here
                 int a,b,c,d,e,f,g,h,i,j,k,l,m;
                             ^
prog.c:14:1: error: unknown type name 'Set'
 Set f=(d*e);
 ^
prog.c:14:5: error: redeclaration of 'f' with no linkage
 Set f=(d*e);
     ^
prog.c:6:31: note: previous declaration of 'f' was here
                 int a,b,c,d,e,f,g,h,i,j,k,l,m;
                               ^
prog.c:15:1: error: unknown type name 'Set'
 Set g=11;
 ^
prog.c:15:5: error: redeclaration of 'g' with no linkage
 Set g=11;
     ^
prog.c:6:33: note: previous declaration of 'g' was here
                 int a,b,c,d,e,f,g,h,i,j,k,l,m;
                                 ^
prog.c:16:1: error: unknown type name 'Set'
 Set h=12;
 ^
prog.c:16:5: error: redeclaration of 'h' with no linkage
 Set h=12;
     ^
prog.c:6:35: note: previous declaration of 'h' was here
                 int a,b,c,d,e,f,g,h,i,j,k,l,m;
                                   ^
prog.c:17:1: error: unknown type name 'Set'
 Set i=(g*h);
 ^
prog.c:17:5: error: redeclaration of 'i' with no linkage
 Set i=(g*h);
     ^
prog.c:6:37: note: previous declaration of 'i' was here
                 int a,b,c,d,e,f,g,h,i,j,k,l,m;
                                     ^
prog.c:18:1: error: unknown type name 'Set'
 Set j=10;
 ^
prog.c:18:5: error: redeclaration of 'j' with no linkage
 Set j=10;
     ^
prog.c:6:39: note: previous declaration of 'j' was here
                 int a,b,c,d,e,f,g,h,i,j,k,l,m;
                                       ^
prog.c:19:1: error: unknown type name 'Set'
 Set k=12;
 ^
prog.c:19:5: error: redeclaration of 'k' with no linkage
 Set k=12;
     ^
prog.c:6:41: note: previous declaration of 'k' was here
                 int a,b,c,d,e,f,g,h,i,j,k,l,m;
                                         ^
prog.c:20:1: error: unknown type name 'Set'
 Set l=(j*k);
 ^
prog.c:20:5: error: redeclaration of 'l' with no linkage
 Set l=(j*k);
     ^
prog.c:6:43: note: previous declaration of 'l' was here
                 int a,b,c,d,e,f,g,h,i,j,k,l,m;
                                           ^
prog.c:21:1: error: unknown type name 'Set'
 Set m=(c+f+i+l);
 ^
prog.c:21:5: error: redeclaration of 'm' with no linkage
 Set m=(c+f+i+l);
     ^
prog.c:6:45: note: previous declaration of 'm' was here
                 int a,b,c,d,e,f,g,h,i,j,k,l,m;
                                             ^
prog.c:23:24: warning: too many arguments for format [-Wformat-extra-args]
                 printf("Integers (a,b,c,d,e,f,g,h,i,j,k,l,) and sum (m) %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d \n", a,b,c,d,e,f,g,h,i,j,k,l,m);
                        ^
prog.c:24:17: error: expected declaration or statement at end of input
                 return 0;
                 ^
stdout
Standard output is empty