#include <stdio.h> int main() { unsigned int e = 65535; // [0]:0, [1]:0, [2]:255, [3]:255 int i; char d = 1, c = 67, b = 3, a = 4; char *f; f = &a; printf("&d is 0x%X\n", &d); printf("&c is 0x%X\n", &c); printf("&b is 0x%X\n", &b); printf("&a is 0x%X\n", &a); printf("f[2] is: %hhu\n", *(f+2)); f = &e; for(i = 0; i < 4; i++) printf("f[%d] is: %hhu\n", i, *(f+i)); return(0); }