Professional KnowledgeHardIBPS SO IT
Which of the following about C++ virtual functions is correct?
- A. They enable runtime polymorphism via the vtable
- B. They are resolved at compile time
- C. They need no base pointer
- D. They cannot be overridden
Correct answer: A. They enable runtime polymorphism via the vtable
Calls through base pointers dispatch dynamically.
Practise more IT Officer Professional Knowledge (IBPS SO) questionsIT Officer Professional Knowledge (IBPS SO): notes and key points
More IT Officer Professional Knowledge (IBPS SO) questions
- In the V-model, unit testing corresponds to which development phase?
- Cyclomatic complexity of a function with 4 decision points (if/while) is:
- Which coupling is the most desirable between modules?
- For a program, 100% branch coverage guarantees:
- The Agile principle that best matches Scrum's sprint review is:
- A hash function with a good avalanche property is required for cryptographic hashes. Which is NOT a cryptographic hash?