Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C Programming
Null pointers
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="CBFalconer, post: 2382538"] Yup. May not be functional on your system. c:\c\junk>cat junk.c #include <stdio.h> int main(void) { long p; for (p = 0; p < 16; p++) { printf("{%p) = %x\n", (void*)p, *((char*)p)); } return 0; } c:\c\junk>gcc junk.c c:\c\junk>.\a {0) = 50 {1) = ffffff8b {2) = 45 {3) = 8 {4) = 50 {5) = ffffffe8 {6) = ffffffa6 {7) = fffffff6 {8) = ffffffff {9) = ffffffff {a) = ffffff8b {b) = 45 {c) = ffffffec {d) = ffffff83 {e) = ffffffc4 {f) = 10 [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
Null pointers
Top