Pointers are special types of variables. They are declared like other variables but are distringuished from non-pointer variables by the additional of the reference operator (which is the '*' character).To delcare a byte variable called FRED we would use the statment
byte FREDTo delcare FRED as a pointer to a byte variable we would use the statment
byte * FREDTo declare the pointer such that it points to something in the CODE memory of the processor instead of the RAM use the const qualifier
byte * const FRED
pointer to unsigned 8 bit integer held in RAM
byte * ptrpointer to unsigned 8 bit integer held in CODE memorybyte * const ptrpointer to unsigned 16 bit integer held in RAMuint * ptrpointer to unsigned 16 bit integer held in CODE memoryuint * const ptrpointer to unsigned 32 bit integer held in RAMulong * ptrpointer to unsigned 32 bit integer held in CODE memoryulong * const ptr