S

Shivam • 8.86K Points
Tutor III

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: 143
  • Filed under category C#

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.


Question analytics