InterviewSolution
Saved Bookmarks
| 1. |
Functions which differ in const-ness are considered ______________________(a) To have same signature(b) To have different signature(c) To produce compile time error(d) To produce runtime errorI have been asked this question during an interview.This intriguing question comes from Constant Member Functions in portion Member Functions & its Types of Object Oriented Programming |
|
Answer» Correct answer is (B) To have different signature |
|