fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. char c='A';
  5. int x=66;
  6. printf ("%c,%d\n",c,c);
  7. printf ("%d,%c\n",x,x);
  8. return 0;
  9. }
  10.  
Success #stdin #stdout 0.01s 5320KB
stdin
Standard input is empty
stdout
A,65
66,B