Home / MCQ Bank / Computer
Computer Classes And Objects In C Plus Plus

Which is used to define the member of a class externally?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option B • ::

Related Computer Questions

What should be the set value of background-size property such that image will stretch to cover entire content area? How does the time complexity of Dijkstra's algorithm change when using a Fibonacci heap? What will be the output of the following C++ code? #include <iostream> using namespace std; double division(int a, int b) { if ( b == 0 ) { throw "Division by zero condition!"; } return (a / b); } int main () { int x = 50; int y = 0; double z = 0; try { z = division(x, y); cout << z << endl; } catch (const char* msg) { cout << msg << endl; } return 0; } What data structure is used for implementing a dynamic list with frequent additions and removals? Which keyword is used to access the superclass constructor in a derived class constructor in C++?