#include &lt;iostream&gt;    using namespace std;    template &lt;class type&gt;    class Test    &#123;        public:        Test&#40;&#41;        &#123;        &#125;;        ~Test&#40;&#41;        &#123;          &#125;;        type Funct1&#40;type Var1&#41;        &#123;            return Var1;        &#125;        type Funct2&#40;type Var2&#41;        &#123;            return Var2;        &#125;    &#125;;    int main&#40;&#41;    &#123;        Test&lt;int&gt; Var1;        Test&lt;double&gt; Var2;        cout &lt;&lt; Var1.Funct1&#40;200&#41;;        cout &lt;&lt; Var2.Funct2&#40;3.123&#41;;        return 0;    &#125;
A. 100
B. 200
C. 3.123
D. 2003.123
Answer:A
#include &lt;iostream&gt;    using namespace std;    template &lt;class type&gt;    class Test    &#123;        public:        Test&#40;&#41;        &#123;        &#125;;        ~Test&#40;&#41;        &#123;          &#125;;        type Funct1&#40;type Var1&#41;        &#123;            return Var1;        &#125;        type Funct2&#40;type Var2&#41;        &#123;            return Var2;        &#125;    &#125;;    int main&#40;&#41;    &#123;        Test&lt;int&gt; Var1;        Test&lt;double&gt; Var2;        cout &lt;&lt; Var1.Funct1&#40;200&#41;;        cout &lt;&lt; Var2.Funct2&#40;3.123&#41;;        return 0;    &#125;
A. 100 B. 200 C. 3.123 D. 2003.123
Explanation:In this program, We are passing the value and returning it from template.