Learn C again Here I just use the The C Programming Language 2nd
Ubuntu 14.04 GCC
GDB
Ubuntu 14.04
Every Chapter contains a note for the tips you should know digisted from then book.
If you want more good or official demos, you may go to the clc-wiki.
some examples are from there.