#include &lt;iostream&gt;    using namespace std;    int main &#40;&#41;    &#123;        int a, b, c;        a = 2;        b = 7;        c = &#40;a &gt; b&#41; ? a : b;        cout &lt;&lt; c;        return 0;    &#125;
A. 2
B. 7
C. 9
D. 14
Answer:A
#include &lt;iostream&gt;    using namespace std;    int main &#40;&#41;    &#123;        int a, b, c;        a = 2;        b = 7;        c = &#40;a &gt; b&#41; ? a : b;        cout &lt;&lt; c;        return 0;    &#125;
A. 2 B. 7 C. 9 D. 14
Explanation:We are using the ternary operator to evaluate this expression. It will return first option, if first condition is true otherwise it will return second