#include &lt;iostream&gt;    using namespace std;    int main &#40;&#41;     &#123;        int n;         n = 43;        cout &lt;&lt; hex &lt;&lt; n &lt;&lt; endl;        return 0;    &#125;
A. 2c
B. 2b
C. 20
D. 50
Answer:A
#include &lt;iostream&gt;    using namespace std;    int main &#40;&#41;     &#123;        int n;         n = 43;        cout &lt;&lt; hex &lt;&lt; n &lt;&lt; endl;        return 0;    &#125;
A. 2c B. 2b C. 20 D. 50
Explanation:In this program, We are printing the hexadecimal value of the given decimal number by using hex function.