11.
What is a template?

13.
What will be the output of the following C++ code?
#include <iostream>
using namespace std;
void Sum(int a, int b, int & c)
{
    a = b + c;
    b = a + c;
    c = a + b;
}
int main()
{
    int x = 2, y =3;
    Sum(x, y, y);
    cout << x << " " << y;
    return 0;
}

14.
What will be the output of the following C++ code?
#include <iostream>
#include <vector>
using namespace std;
int main ()
{
    vector<int> myvector;
    int sum (0);
    myvector.push_back (100);
    myvector.push_back (200);
    myvector.push_back (300);
    while (!myvector.empty())
    {
        sum += myvector.back();
        myvector.pop_back();
    }
    cout << sum << '\n';
    return 0;
}

17.
What is a pure virtual function in C++?

18.
What is the use of apply() function in Valarray?

19.
What is the use of proj() function?