#include &lt;cstdlib&gt;    #include &lt;ctime&gt;    #include &lt;iostream&gt;    using namespace std;    int main&#40;&#41;    &#123;        srand&#40;&#40;unsigned&#41;time&#40;0&#41;&#41;;        int ran;        for &#40;int i = 0; i &lt; 2; i++&#41;        &#123;            ran = &#40;rand&#40;&#41; % 10&#41; + 1;            cout &lt;&lt; ran;        &#125;    &#125;
A. 2 4
B. 10 20
C. Any two number from 1 to 10
D. None of the mentioned
Answer:A
#include &lt;cstdlib&gt;    #include &lt;ctime&gt;    #include &lt;iostream&gt;    using namespace std;    int main&#40;&#41;    &#123;        srand&#40;&#40;unsigned&#41;time&#40;0&#41;&#41;;        int ran;        for &#40;int i = 0; i &lt; 2; i++&#41;        &#123;            ran = &#40;rand&#40;&#41; % 10&#41; + 1;            cout &lt;&lt; ran;        &#125;    &#125;
A. 2 4 B. 10 20 C. Any two number from 1 to 10 D. None of the mentioned