What is the ‘override’ keyword in C++ used for? [duplicate]

I am a beginner in C++. I have come across override keyword used in the header file that I am working on. May I know, what is real use of override, perhaps with an example would be easy to understand.

4 Answers
4

Leave a Comment