Home / MCQ Bank / Computer
Computer Functions And Procedures In C Plus Plus Difficulty: Medium

What will be the output of the following C++ code? #include <iostream> using namespace std; namespace extra { int i; } void i() { using namespace extra; int i; i = 9; cout << i; } int main() { enum letter { i, j}; class i { letter j; }; ::i(); return 0; }

Select the correct option to test your answer:

More Computer Questions

Which of the following is not an Eigen value of the Laplacian matrix of the complete bipartite graph? What is the output of the following code: char str[] = "Hello"; cout << str; in C++? What is the primary focus of Data Science? Consider the given page reference string 0, 1, 3, 7, 1, 7, 0, 3, 6, 8. How many page faults will occur if the program has 4-page frames available to it and it uses the random page replacement algorithm? What is the average case time complexity of recursive bubble sort?