For example, if I have....
This should output the value held inside mychar, now that much makes perfect sense to me. What doesn't is how the memory address of mychar is stored. Lets say &mychar is FAR greater that 0xFF, in most cases it will be, how does ptr hold a value that is larger than a char is capable of holding?
Code:
char mychar;
mychar = 'd'
char* ptr = &mychar;
putc(*ptr, stdout);