What is the output if following code executed? include using namespace std; namespace fun1 { int a = 6; } namespace fun2 { int a = 11; } int main(int argc, const char * argv[]) { int a = 10; fun1::a; fun2::a; cout << a; return 0; }
Correct Answer: 10
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More C++ MCQ Questions