#include &lt;iostream&gt;    using namespace std;    template&lt;typename type&gt;    class TestVirt    &#123;        public:        virtual type TestFunct&#40;type Var1&#41;        &#123;            return Var1 * 2;        &#125;    &#125;;    int main&#40;&#41;    &#123;        TestVirt&lt;int&gt; Var1;        cout &lt;&lt; Var1.TestFunct&#40;100&#41; &lt;&lt; endl;        return 0;    &#125;
A. 100
B. 200
C. 50
D. none of the mentioned
Answer:A
#include &lt;iostream&gt;    using namespace std;    template&lt;typename type&gt;    class TestVirt    &#123;        public:        virtual type TestFunct&#40;type Var1&#41;        &#123;            return Var1 * 2;        &#125;    &#125;;    int main&#40;&#41;    &#123;        TestVirt&lt;int&gt; Var1;        cout &lt;&lt; Var1.TestFunct&#40;100&#41; &lt;&lt; endl;        return 0;    &#125;
A. 100 B. 200 C. 50 D. none of the mentioned
Explanation:In this program, We are using class to pass the value and then we are manipulating it.