fork download
  1. #include <stdio.h>
  2. int main(void) {
  3. char c = '0';
  4. fprintf(stdout, "Char %c is number %d in ascii table.\nRolling the bomb...\n", c, c);
  5. ++c;
  6. fprintf(stdout, "\tNext one is %c, number %d", c, c);
  7. return 0;
  8. }
  9.  
Success #stdin #stdout 0s 2292KB
stdin
Standard input is empty
stdout
Char 0 is number 48 in ascii table.
Rolling the bomb...
	Next one is 1, number 49