fork download
  1. #include <stdio.h>
  2. int main()
  3. {
  4. int p,*pt;
  5. p=10;
  6. pt=&p;
  7. pt=&p;
  8. printf("address of p =%p\n",*pt);
  9. printf("address of p =%p\n",pt);
  10. printf("Data of p =%d\n",p);
  11. printf("Data of p =%d\n",*pt);
  12. }
Success #stdin #stdout 0s 5292KB
stdin
Standard input is empty
stdout
address of p =0xa
address of p =0x7fff3cad1e44
Data of p =10
Data of p =10