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
Does the output remain same or different for both cases?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Does the output remain same or different for both cases?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!