fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. char* s = NULL;
  6. printf("%u\n", &s);
  7.  
  8. const char* t = "ABC";
  9. s = t;
  10. printf("%u\n", &s);
  11. printf("%u\n", &(s[0]));
  12. printf("%u\n", &(t[0]));
  13. return 0;
  14. }
  15.  
Success #stdin #stdout 0s 2292KB
stdin
Standard input is empty
stdout
3218476508
3218476508
134514052
134514052