InterviewSolution
Saved Bookmarks
| 1. |
What happens if non static members are used in static member function?(a) Compile time error(b) Runtime error(c) Executes fine(d) Executes if that member function is not usedThe question was asked in homework.Origin of the question is Member Functions topic in portion Class Members & Types of Object Oriented Programming |
|
Answer» Right option is (a) Compile TIME ERROR |
|