#include &lt;iostream&gt;    #include &lt;stdarg.h&gt;    using namespace std;    void fun&#40;std::string msg, ...&#41;;    int main&#40;&#41;    &#123;        fun&#40;&quot;IndiaBIX&quot;, 1, 4, 7, 11, 0&#41;;        return 0;    &#125;    void fun&#40;std::string msg, ...&#41;    &#123;        va_list ptr;        int num;        va_start&#40;ptr, msg&#41;;        num = va_arg&#40;ptr, int&#41;;        num = va_arg&#40;ptr, int&#41;;        cout &lt;&lt; num;    &#125;
A. 6
B. 5
C. 8
D. 4
Answer:A
#include &lt;iostream&gt;    #include &lt;stdarg.h&gt;    using namespace std;    void fun&#40;std::string msg, ...&#41;;    int main&#40;&#41;    &#123;        fun&#40;&quot;IndiaBIX&quot;, 1, 4, 7, 11, 0&#41;;        return 0;    &#125;    void fun&#40;std::string msg, ...&#41;    &#123;        va_list ptr;        int num;        va_start&#40;ptr, msg&#41;;        num = va_arg&#40;ptr, int&#41;;        num = va_arg&#40;ptr, int&#41;;        cout &lt;&lt; num;    &#125;
A. 6 B. 5 C. 8 D. 4
Explanation:In this program, we are moving the pointer to the second value and printing it.