fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int a = 'x';
  5. char *b = "x";
  6. printf("value of a (in decimal): %d\n", a);
  7. printf("value of b: %s", b);
  8. return 0;
  9. }
  10.  
Success #stdin #stdout 0s 10304KB
stdin
Standard input is empty
stdout
value of a (in decimal): 120
value of b: x