53.
What will be the output of the following C++ code?
#include <iostream> 
#include <vector> 
 
using namespace std; 
 
int main() 
{ 
    vector<int> v; 
    for (int i = 1; i <= 5; i++) 
        v.push_back(i); 
    cout<<v.capacity()<<endl;
    v.resize(4);
    cout<<v.capacity()<<endl;
    return 0; 
}

54.
What will be the output of the following C++ code?
#include <iostream>
#include<type_traits>
using namespace std;
class Base
{
   public:
    virtual void function1() {};
    virtual void function2() {};
};
int main()
{
	Base b;
	cout<<sizeof(b);
	return 0;
}

58.
What will be the output of the following C++ code?
#include <iostream>
using namespace std;
int main()
{
    try
   {
        throw 1;
    }
    catch (int a)
    {
        cout << "exception number:  " << a << endl;
        return 0;
    }
    cout << "No exception " << endl;
    return 0;
}

60.
What will be the output of the following C++ code?
#include <iostream>
#include <exception>
using namespace std;
class myexception: public exception
{
    virtual const char* what() const throw()
    {
        return "exception arised";
    }
} myex;
int main () 
{
    try
    {
        throw myex;
    }
    catch (exception& e)
    {
        cout << e.what() << endl;
    }
    return 0;
}