61.
What will be the output of the following C++ code?
#include <iostream>
using namespace std;
template <class T, int N>
class mysequence 
{
    T memblock [N];
    public:
    void setmember (int x, T value);
    T getmember (int x);
};
template <class T, int N>
void mysequence<T,N> :: setmember (int x, T value) 
{
    memblock[x] = value;
}
template <class T, int N>
T mysequence<T,N> :: getmember (int x) 
{
    return memblock[x];
}
int main () 
{  
    mysequence <int, 5> myints;
    mysequence <double, 5> myfloats;
    myints.setmember (0, 100);
    myfloats.setmember (3, 3.1416);
    cout << myints.getmember(0) << '\n';
    cout << myfloats.getmember(3) << '\n';
    return 0;
}

65.
What is the output of this C++ program in the "test.txt" file?
#include <fstream>
using namespace std;
int main ()
{
    long pos;
    ofstream outfile;
    outfile.open ("test.txt");
    outfile.write ("This is an apple",16);
    pos = outfile.tellp();
    outfile.seekp (pos - 7);
    outfile.write (" sam", 4);
    outfile.close();
    return 0;
}

66.
Which of the following is correct about remove_extent() function?

67.
What will be the output of the following C++ code?
#include <iostream>
#include <algorithm>
#include <vector>
using namespace std;
int main ()
{
    int myints[]={ 10, 20, 30, 40, 50 };
    vector<int> myvector (4, 99);
    iter_swap(myints, myvector.begin());
    iter_swap(myints + 3,myvector.begin() + 2);
    for (vector<int> :: iterator it = myvector.begin(); 
        it != myvector.end(); ++it)
    cout << ' ' << *it;
    return 0;
}

68.
What happens when no argument is supplied to set() function?

70.
What is the use of polar function?