Consider the following statements:

1.1 Consider the following statements:
int x = 22, y = 15;
x = (x<y) ? (x+y) : (x-y);
What will be the value of x after executing these statements?
A) 22
B) 37
C) 7
D) Error. Cannot be executed.

What is a class template?

b) What is a class template? Write a template-based complete program for adding two
objects of the vector class. Use dynamic data members instead of arrays for storing
vector elements.