fork download
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5. char *s1 = "iamclever";
  6. char s2[100];
  7.  
  8. printf(" s1=%p\n", s1);
  9. printf(" s2=%p\n", s2);
  10. printf("&s1=%p\n", &s1);
  11. return 0;
  12. }
  13.  
Success #stdin #stdout 0.01s 1676KB
stdin
Standard input is empty
stdout
 s1=0x8048590
 s2=0xbff7a550
&s1=0xbff7a5b4