fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int a = 3;
  5. char* three = a + "0";
  6. char three2 = a + '0';
  7. printf("1: %s\n", three);
  8. printf("2: %c\n", three2);
  9. printf("3: %s\n", &three2);
  10. //printf("okay\n");
  11. return 0;
  12. }
  13.  
Success #stdin #stdout 0s 9432KB
stdin
Standard input is empty
stdout
1: : %s

2: 3
3: 3