71.
What will be the output of the following C++ code?
#include <iostream>
#include <array>
 
using namespace std;
 
int main(int argc, char const *argv[])
{
	array<int, 5> arr1 = {1,2,3,4,5};
	array<int, 5> arr2 = {6,7,8,9,10};
	arr1.swap(arr2);
	for(int i=0;i<5;i++)
		cout<<arr1[i]<<" ";
	cout<<endl;
	for(int i=0;i<5;i++)
		cout<<arr2[i]<<" ";
	cout<<endl;
	return 0;
}

75.
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;
}

79.
What will be the output of the following C++ code?
#include <iostream>
#include <string>
#include <cstdlib>
using namespace std;
template<class T>
T func(T a)
{
	cout<<a;
	return a;
}
 
int func(int a)
{
	cout<<a;
}
 
int main(int argc, char const *argv[])
{
	int a = 5;
	int b = func(a);
	float c = func(5.5);
	return 0;
}