according your question, can we declare a static function as virtual?, answer is
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.
Liked By
Write Answer
Can we declare a static function as virtual?
Join MindStick Community
You have need login or register for voting of answers or question.
AVADHESH PATEL
19-Nov-2012according your question, can we declare a static function as virtual?, answer is
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.