http://it-ebooks.info/book/6036/

even though this is an Arduino book the chapters on data types , pointers , structures and unions ,looping functions are good value
and translate well into xc8 . best of all its free