The problem about the tiobe index is that it is about lines of code. While not necessarily greatly affecting the ratings, some difference will be there. It generally takes fewer lines to do the same in C++ than in C, thanks to the advanced features the language supports. And of course, functional languages like Haskell use even less lines.