22.
Which of the following describes the protected access specifier?

26.
What will be the output of the following C++ code?
#include <iostream>
#include <set>
using namespace std;
int main()
{
    set<int> tst;
    tst.insert(12);
    tst.insert(21);
    tst.insert(32);
    tst.insert(31);
    set<int> :: const_iterator pos;
    for(pos = tst.begin(); pos != tst.end(); ++pos)
    cout << *pos << ' ';
    return 0;
}

27.
What happens when no argument is supplied to flip() function?

28.
What will be the output of the following C++ code?
#include <iostream>
#include <algorithm>
using namespace std;
int main () 
{
    int myints[] = {1, 2, 3};
    sort (myints, myints + 3);
    do 
    {
    } while ( next_permutation(myints, myints + 3) );
    cout << myints[0] << ' ' << myints[1] << ' ' << myints[2] << '\n';
    return 0;
}

29.
How the size of a vector increases once it is full?

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