Vidyalelo
C# Programming · Q110

Basic Syntax and Data Types in C Sharp

Programming · C# Programming · question 110

Q110

Does the output remain same or different for both cases? i. char l ='k'; float b = 19.0f; int c; c = (l / convert.ToInt32(b)); Console.Writeline(c); ii. char l ='k'; float b = 19.0f; int c; c = Convert.ToInt32(l / b); console.writeline(c);

A.
Yes
B.
No
Answer

Answer: Option B

Solution

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