Vidyalelo
C# Programming · Q53

Basic Syntax and Data Types in C Sharp

Programming · C# Programming · question 53

Q53

What will be the output of the following C# code? int a,b; a = (b = 10) + 5;

A.
b = 10, a = 5
B.
b = 15, a = 5
C.
a = 15, b = 10
Answer
D.
a = 10, b = 10

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board