21.
What are the disadvantages if use return keyword to return error codes?

22.
What will be the output of the following C++ code?
#include <iostream>
#include <exception>
#include <typeinfo>
using namespace std;
class Test1
{    
    virtual int  Funct() 
    {
    }
};
int main ()
{
    try 
    {
        Test1 * var = NULL;
        typeid (*var);
    }
    catch (std::exception& typevar)
    {
        cout << "Exception: " << typevar.what() << endl;   
    }
    return 0;
}

23.
What will be the output of the following C++ code?
#include <iostream>
#include <algorithm>
#include <vector>
using namespace std;
int main () 
{
    int first[] = {5, 10, 15};
    int second[] = {50, 40, 30};
    vector<int> v(4);
    vector<int> :: iterator it;
    sort (first, first + 3);
    sort (second, second + 3);
    it = set_symmetric_difference (first, first + 2, second, second + 2, 
    v.begin());
    v.resize(it - v.begin());
    for (it = v.begin(); it != v.end(); ++it)
    cout << ' ' << *it;
    return 0;
}