The associativity of the conditional operator is?

58. The associativity of the conditional operator is?

  1. Left to Right
  2. Right to Left

Answer: B) Right to Left

Explanation:

In C++, the associativity of the conditional operator "?:" is Right to Left.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.