Q30
What will be the output of the following C++ code? #include using namespace std; int main() int a = 5, b = 6, c; c = (a > b) ? a : b; cout << c; return 0;
A.
6
AnswerB.
5
C.
4
D.
7
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board