Home / MCQ Bank / Computer
Computer Plus Plus Miscellaneous

What will be the output of the following C++ code? #include <iostream> #include <typeinfo> using namespace std; int main () { int * a; int b; a = 0; b = 0; if (typeid(a) != typeid(b)) { cout << typeid(a).name(); cout << typeid(b).name(); } return 0; }

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option C • Both pi & i

Related Computer Questions

From which menu you can access Picture, Test Box, Chart etc? Which Chart can be created in Excel? What is the purpose of the gem dependency gem_name command in Ruby? Why should you specify a background color if you are using an image for the actual background of your page ? If emp_id contain the following set {9, 7, 6, 4, 3, 1, 2}, what will be the output on execution of the following MySQL statement? SELECT emp_id FROM person ORDER BY emp_id;