Home » C++ Programming » Objects and Classes

Which of the following statements is correct about the program given below? class CuriousTab { public: static void MyFunction(); }; int main() { void(*ptr)() = &CuriousTab::MyFunction; return 0; }

Correct Answer: The program reports linker error.

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion