81.
What will be the output of the following C++ code?
#include <iostream>
using namespace std;
double division(int a, int b)
{
    if (b == 0)
    {
        throw "Division by zero condition!";
    }
    return (a / b);
}
int main ()
{
    int x = 50;
    int y = 0;
    double z = 0;
    try 
    {
        z = division(x, y);
        cout << z << endl;
    }
    catch (const char* msg) 
    {
        cerr << msg << endl;
    }
    return 0;
}

82.
If inner catch block is unable to handle the exception thrown then . . . . . . . .

84.
What will be the output of the following C++ code?
#include <iostream>
using namespace std;
template<class T = float, int i = 5> class A
{
    public:
    A();
    int value;
};
template<> class A<> 
{ 
    public: A(); 
};
template<> class A<double, 10>
{ 
    public: A(); 
};
template<class T, int i> A<T, i>::A() : value(i)
{
    cout << value;
}
A<>::A() 
{
    cout << "default";
}
A<double, 10>::A() 
{
    cout << "10" << endl;
}
int main() 
{
    A<int, 6> x;
    A<> y;
    A<double, 10> z;
}

85.
What is the use of checked iterators?

87.
What will be the output of the following C++ code?
#include <iostream>
#include <iterator>
#include <list>
using namespace std;
int main () 
{
    list<int> mylist;
    for (int i = 0; i < 5; i++) 
        mylist.push_back (i * 20);
    list<int> :: iterator first = mylist.begin();
    list<int> :: iterator last = mylist.end();
    cout << distance(first, last) << endl;
    return 0;
}

89.
What will be the output of the following C++ code?
#include <iostream>
using namespace std;
int main ()
{
    int a = 100;
    double b = 3.14;
    cout << a;
    cout << endl;
    cout << b << endl << a * b;
    endl (cout);
    return 0;
}