Explain virtual functions with code
Filed under Nokia
The question
Explain the concept and purpose of a virtual function in C++, and write sample code showing how to use it.
No write-up yet. Related questions below have one.
Related Nokia questions
Collected from public candidate posts and coding forums. Updated Nov 2026.