A Admin • 833K Points Coach Q. Which of the following is the correct way to define a function outside a class in C++? (A) void MyClass::myFunction() { } (B) void myFunction() { } (C) MyClass::void myFunction() { } (D) None of the above Correct Answer - Option(A) Views: 139 Filed under category C++ Hashtags: Share Manage Tags
Discusssion
Login to discuss.