From: sparky4 Date: Sat, 30 May 2015 12:28:24 +0000 (-0500) Subject: testing and learning~ X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=6364f4fd0ef7ec33c2feb745d8548f56fb631e3c;p=16.git testing and learning~ modified: 16/fmemtest.c modified: 16/fmemtest.exe --- diff --git a/16/fmemtest.c b/16/fmemtest.c index a6c354b5..010470a1 100644 --- a/16/fmemtest.c +++ b/16/fmemtest.c @@ -5,10 +5,16 @@ main(int argc, char *argv[]) { int x=420; int huge *ptr=&x; + int *ptr0=&x; //ptr=&x; + printf("ptr0=%Fp\n", ptr0); + printf("&ptr0=%Fp\n", &ptr0); + printf("*ptr0=%d\n", *ptr0); printf("ptr=%Fp\n", ptr); + printf("&ptr=%Fp\n", &ptr); printf("*ptr=%d\n", *ptr); + printf("address of *ptr=%Fp\n", *ptr); printf("&x=%Fp\n", &x); printf("x=%d\n", x); } diff --git a/16/fmemtest.exe b/16/fmemtest.exe index 9b7bb772..58564d79 100644 Binary files a/16/fmemtest.exe and b/16/fmemtest.exe differ