InterviewSolution
Saved Bookmarks
| 1. |
The keyword static is used _______________(a) With declaration inside class and with definition outside the class(b) With declaration inside class and not with definition outside the class(c) With declaration and definition wherever done(d) With each call to the member function |
|
Answer» Correct choice is (b) With declaration inside class and not with definition outside the class The best I can explain: The keyword is used only inside the class while declaring the static member. Outside the class, only definition with proper syntax is given. There is no need of specifying the keyword static again. |
|