fork download
  1. #include <stdio.h>
  2. int main ()
  3. {
  4. /* variable definition: */
  5. int a, b, c;
  6.  
  7. /* variable initialization */
  8. a = 10;
  9. b = 20;
  10. c = a x b;
  11. printf("Integers (a,b) and product (c) are : %d,%d,%d \n", a,b,c);
  12. return 0;
  13. }
  14.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c: In function ‘main’:
prog.c:10:8: error: expected ‘;’ before ‘x’
  c = a x b;
        ^
stdout
Standard output is empty