Solved

What Will Be the Output of Following Program?#include ≪iostream> Using

Question 19

Multiple Choice

What will be the output of following program?#include <iostream> using namespace std;class Test{public:Test() { cout <<"Hello from Test() "; }} a;int main() {cout <<"Main Started "; return 0;}


A) main started
B) main started hello from test()
C) hello from test() main started
D) compiler error: global objects are not allowed

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions