I have a simple question. The code is really short so I just post it here
#include int main(int argc, const char * argv[]) { long int p;
To print the least-significant byte of *q in hex you could use:
*q
printf("%02x", *q & 0xFF);
This of course assumes that q can be dereferenced.
q