Home / MCQ Bank / Computer
Computer Classes And Objects In C Plus Plus Difficulty: Medium

What will be the output of the following C++ code? #include <iostream> using namespace std; class S { int m; public: #define MAC(S::m) }; int main(int argc, char const *argv[]) { cout<<"Hello World"; return 0; }

Select the correct option to test your answer:

More Computer Questions

Which among the following cannot be used as a datatype for an enum in C#.NET? In Hadoop, what is the role of the Hadoop ResourceManager "Application Priority" feature? Which operation is not performed on a queue? The default case sensitivity of the database and table names depends on . . . . . . . . What will be the output of the following Python statement? >>>print(chr(ord('b')+1))