1.

The static member functions _______________(a) Can’t be declared const(b) Can’t be declared volatile(c) Can’t be declared const or volatile(d) Can’t be declared const, volatile or const volatile

Answer» Right option is (d) Can’t be declared const, volatile or const volatile

For explanation: The static member functions can’t be made const, since any object or class itself should be capable of making changes to the function. And the function must retain all changes common to all the objects.


Discussion

No Comment Found

Related InterviewSolutions