fork download
  1. // C code
  2. // This program will sum two integer numbers to yield a third integer number.
  3. // Developer: Faculty CMIS102
  4. // Date: Jan 31, XXXX
  5. #include <stdio.h> int main ()
  6. {
  7. /* variable definition: */
  8. int a, b, c;
  9. /* variable initialization */
  10. a = 10; b = 20; c = a + b;
  11. printf("Integers (a,b) and sum (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:5:20: warning: extra tokens at end of #include directive
 #include <stdio.h> int main ()
                    ^~~
prog.c:6:1: error: expected identifier or ‘(’ before ‘{’ token
 {
 ^
stdout
Standard output is empty