A

Admin • 833.24K Points
Coach

Q. What will be the output of the following C# code?

Code:
int a,b;
a = (b = 10) + 5;
  • (A) b = 10, a = 5
  • (B) b = 15, a = 5
  • (C) a = 15, b = 10
  • (D) a = 10, b = 10
  • Correct Answer - Option(C)
  • Views: 31
  • Filed under category C# (C Sharp)
  • 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.