#include &lt;iostream&gt;    using namespace std;    int max&#40;int a, int b &#41;    &#123;        return &#40; a &gt; b ? a : b &#41;;    &#125;    int main&#40;&#41;    &#123;        int i = 5;        int j = 7;        cout &lt;&lt; max&#40;i, j &#41;;        return 0;    &#125;
A. 5
B. 7
C. either a or b
D. none of the mentioned
Answer:A
#include &lt;iostream&gt;    using namespace std;    int max&#40;int a, int b &#41;    &#123;        return &#40; a &gt; b ? a : b &#41;;    &#125;    int main&#40;&#41;    &#123;        int i = 5;        int j = 7;        cout &lt;&lt; max&#40;i, j &#41;;        return 0;    &#125;
A. 5 B. 7 C. either a or b D. none of the mentioned
Explanation:In this program, we are returning the maximum value by using conditional operator.