What I'm trying to get at is that if you're inteviewing for a specific role, say C++ developer, you could easily memorise the most popular questions even if you're a hopeless programmer.
But, if you're genuinely knowledgeable then rather than answering specifics about implementation and syntax you can handle a deeper conversation.
More often than not when you get to a senior level most peope interviewing you are less knowledgeable about specifics and rely on rote questions which just do not assess ability or aptitude.