InterviewSolution
Saved Bookmarks
| 1. |
Any changes made to static data member from one member function _____________(a) Is reflected to only the corresponding object(b) Is reflected to all the variables in a program(c) Is reflected to all the objects of that class(d) Is constant to that function only |
|
Answer» The correct choice is (c) Is reflected to all the objects of that class The best explanation: The changes made from any function to static data member will be a common change for all the other objects also. If the change is made with respect to one object and change is printed from another object, the result will be same. |
|