fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. char c ='A';
  6. char *cp;
  7. cp = &c;
  8. printf("%x %c %c \n", &c, c, *&c);
  9. printf("%x %x \n", &cp, *&cp);
  10. printf("%c \n", c);
  11. printf("%c \n", *cp);
  12. return 0;
  13. }
  14.  
Success #stdin #stdout 0s 5300KB
stdin
Standard input is empty
stdout
2e447d0f A A 
2e447d10 2e447d0f 
A 
A