#include &lt;iostream&gt;    using namespace std;    template &lt;typename T = float, int count = 3&gt;    T multIt&#40;T x&#41;    &#123;        for&#40;int ii = 0; ii &lt; count; ii++&#41;        &#123;            x = x * x;        &#125;        return x;    &#125;;    int main&#40;&#41;    &#123;        float xx = 2.1;        cout &lt;&lt; xx &lt;&lt; &quot;: &quot; &lt;&lt; multIt&lt;&gt;&#40;xx&#41; &lt;&lt; endl;    &#125;
A. 2.1
B. 378.228
C. 2.1: 378.228
D. None of the mentioned
Answer:A
#include &lt;iostream&gt;    using namespace std;    template &lt;typename T = float, int count = 3&gt;    T multIt&#40;T x&#41;    &#123;        for&#40;int ii = 0; ii &lt; count; ii++&#41;        &#123;            x = x * x;        &#125;        return x;    &#125;;    int main&#40;&#41;    &#123;        float xx = 2.1;        cout &lt;&lt; xx &lt;&lt; &quot;: &quot; &lt;&lt; multIt&lt;&gt;&#40;xx&#41; &lt;&lt; endl;    &#125;
A. 2.1 B. 378.228 C. 2.1: 378.228 D. None of the mentioned
Explanation:In this program, We specifed the type in the template function. We need to compile this program by adding -std=c++0x.