VC++ - Visual C++ - Microsoft Visual C++ Interview Questions And Answers
8/20/09
Can we declare a static function as virtual?
No. The virtual function mechanism is used on the specific object that determines which virtual function to call. Since the static functions are not any way related to objects, they cannot be declared as virtual.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
ITUCU
Loading...
No comments:
Post a Comment