Get The C Programming Language by Kernighan and Ritchie. They invented C and it's the best introduction to the language there is. Some of the low-cost C compilers for the PIC are rather non-standard. Microchip's C18 for the PIC18 and Hi-Tech's C for the smaller PICs would be better; free versions of both compiler are available.