Select the correct option to test your answer:
Computer
Introduction To C Plus Plus
Difficulty: Medium
What will be the output of the following C++ code? #include<iostream> using namespace std; class Test { private: static int count; public: Test& fun(); }; int Test::count = 0; Test& Test::fun() { Test::count++; cout << Test::count << " "; return *this; } int main() { Test t; t.fun().fun().fun().fun(); return 0; }
More Computer Questions
Determine Output: #define int char void main() { int i = 65; printf("sizeof(i)=%d", sizeof(i)); }
What is not true about XML?
When you delete a text box object from a slide in PowerPoint Presentation
Auxiliary space used by comb sort is . . . . . . . .
What is the purpose of the 'strtok()' function in C++?