12.
What will be the output of the following C++ code?
#include <iostream>
using namespace std;
int main( )
{
    char line[100];
    cin.getline( line, 100, 't' );
    cout << line;
    return 0;
}

16.
What will be the output of the following C++ code?
#include <iostream>
#include <cctype>
using namespace std;
int main(int argc, char const *argv[])
{
    char arr[27] = "abcdefghijklmnopqrstuvwxyz";
    for(int i=0;i<27;i++)
    {
	cout<<(bool)isxdigit(arr[i]);
    }
}

17.
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.size();
    cout<<endl<<v.capacity();  
    return 0; 
}

18.
What will be the output of the following C++ code?
#include <iostream>
using namespace std;
template <class type>
class Test
{
    public:
    Test()
    {
    };
    ~Test()
    {  
    };
    type Funct1(type Var1)
    {
        return Var1;
    }
    type Funct2(type Var2)
    {
        return Var2;
    }
};
int main()
{
    Test<int> Var1;
    Test<double> Var2;
    cout << Var1.Funct1(200);
    cout << Var2.Funct2(3.123);
    return 0;
}