32.
What will be the output of the following C++ code?
#include <iostream>
#include <iterator>
#include <vector>
using namespace std;
int main () 
{
    vector<int> myvector;
    for (int i = 1; i < 4; ++i) 
        myvector.push_back(i*10);
   ostream_iterator<int> out_it (cout,", ");
   copy ( myvector.begin(), myvector.end(), out_it );
   return 0;
}

33.
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) 
    {
        cout << msg << endl;
    }
    return 0;
}

34.
What will be the output of the following C++ code?
#include <iostream>
#include <Valarray>
using namespace std;
int main()
{
	Valarray<int> varr = { 1, 2, 3, 4, 5 };
	for (int &x: varr) cout << x << " ";
	cout<<endl;
	varr = varr.cshift(-3);
	for (int &x: varr) cout << x << " ";
	return 0;
}

36.
What happens when no argument is supplied to reset() function?

39.
What is vtable in C++?

40.
What is vptr?