#include &lt;iostream&gt;    #include &lt;stdarg.h&gt;    using namespace std;    float avg&#40; int Count, ... &#41;    &#123;        va_list Numbers;        va_start&#40;Numbers, Count&#41;;        int Sum = 0;        for &#40;int i = 0; i &lt; Count; ++i &#41;            Sum += va_arg&#40;Numbers, int&#41;;        va_end&#40;Numbers&#41;;        return &#40;Sum/Count&#41;;    &#125;    int main&#40;&#41;    &#123;        float Average = avg&#40;10, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9&#41;;        cout &lt;&lt; &quot;Average of first 10 whole numbers : &quot; &lt;&lt; Average;        return 0;    &#125;
A. 4
B. 5
C. 6
D. 7
Answer:A
#include &lt;iostream&gt;    #include &lt;stdarg.h&gt;    using namespace std;    float avg&#40; int Count, ... &#41;    &#123;        va_list Numbers;        va_start&#40;Numbers, Count&#41;;        int Sum = 0;        for &#40;int i = 0; i &lt; Count; ++i &#41;            Sum += va_arg&#40;Numbers, int&#41;;        va_end&#40;Numbers&#41;;        return &#40;Sum/Count&#41;;    &#125;    int main&#40;&#41;    &#123;        float Average = avg&#40;10, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9&#41;;        cout &lt;&lt; &quot;Average of first 10 whole numbers : &quot; &lt;&lt; Average;        return 0;    &#125;
A. 4 B. 5 C. 6 D. 7
Explanation:We are just calculating the average of these numbers using cstdarg.