fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int x;
  5. int a = (x-2)**4 + 7(x-2)**3 + 7(x-2)**2 - 34(x-2) -53;
  6. printf("%d\n",a)
  7. return 0;
  8. }
  9.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c: In function ‘main’:
prog.c:5:16: error: invalid type argument of unary ‘*’ (have ‘int’)
  int a = (x-2)**4 + 7(x-2)**3 + 7(x-2)**2 - 34(x-2) -53;
                ^~
prog.c:5:21: error: called object is not a function or function pointer
  int a = (x-2)**4 + 7(x-2)**3 + 7(x-2)**2 - 34(x-2) -53;
                     ^
prog.c:5:28: error: invalid type argument of unary ‘*’ (have ‘int’)
  int a = (x-2)**4 + 7(x-2)**3 + 7(x-2)**2 - 34(x-2) -53;
                            ^~
prog.c:5:33: error: called object is not a function or function pointer
  int a = (x-2)**4 + 7(x-2)**3 + 7(x-2)**2 - 34(x-2) -53;
                                 ^
prog.c:5:40: error: invalid type argument of unary ‘*’ (have ‘int’)
  int a = (x-2)**4 + 7(x-2)**3 + 7(x-2)**2 - 34(x-2) -53;
                                        ^~
prog.c:5:45: error: called object is not a function or function pointer
  int a = (x-2)**4 + 7(x-2)**3 + 7(x-2)**2 - 34(x-2) -53;
                                             ^~
prog.c:6:18: error: expected ‘;’ before ‘return’
  printf("%d\n",a)
                  ^
                  ;
  return 0;
  ~~~~~~           
stdout
Standard output is empty