A

Admin • 833K Points
Coach

Q. What’s wrong? (x = 4 && y = 5) ? (a = 5) ; (b = 6);

  • (A) The question mark should be an equal sign
  • (B) The first semicolon should be a colon
  • (C) There are too many variables in the statement
  • (D) The conditional operator is only used with apstrings
  • Correct Answer - Option(D)
  • Views: 16
  • Filed under category C++
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.