Welcome to G4EF. Refer to the Sticky threads [thread=107]C-C++ books and tutorial[/thread], [thread=699]Simple Programming Tips On C/C++[/thread] for you to know about the C language.
read the book on C by kernighan and ritchi, undoubtedly the best book on C. You will also find solution to the programs in the a seprate book by tondo.