fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int kawa;
  5. int taku;
  6. int kawataku;
  7. kawa=4;
  8. taku=2;
  9. kawataku=kawa:taku;
  10. printf("%d\n",kawataku);
  11. return 0;
  12. }
  13.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c: In function ‘main’:
prog.c:9:15: error: expected ‘;’ before ‘:’ token
  kawataku=kawa:taku;
               ^
prog.c:5:6: warning: variable ‘taku’ set but not used [-Wunused-but-set-variable]
  int taku;
      ^~~~
stdout
Standard output is empty