Most of the experienced programmers out here strongly feel that one should avoid Kanetkar, Balaguruswamy etc. While learning C or C++ it is important that one does not take a false first step.
The books we STRONGLY DO NOT RECOMMEND
1.) Books by Kanetkar 2.) Books by Balaguruswamy
They are very popular in India and hence we have mentioned them so strongly here.
Programming Languages: 1. Concepts of Programming Languages - Robert Sebesta
C: 1. The ISO standard on programming languages C. (2005) 2. The C programming language 2e - Kernighan & Ritchie 3. Thinking in C. 4. O Reily's publication 5. Pohl's 6. Jack Purdum's 7. Holzner 8. C Faqs by Steve Summit (For non-beginners).
C++: 1. The ISO standard on C++. (2003) 2. The C++ Programming Language, Special Edition - Bjarne Stroustrup 3. Thinking in C++. 4. The Design and Evolution of C++ - Bjarne Stroustrup. 5. Inside the C++ Object Model - Stanley Lippman 6. C++ FAQs 2e. 7. C++ FAQs Lite (Google it) 8. Effective C++ - 55 Specific Ways to Improve Your Programs and Designs 3e.