N Ngân Lam New member Sep 18, 2021 #1 Does the output remain same or different for both cases? i) Code: char l ='k'; float b = 19.0f; int c; c = (l / convert.ToInt32(b)); Console.Writeline(c); ii) Code: 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? i) Code: char l ='k'; float b = 19.0f; int c; c = (l / convert.ToInt32(b)); Console.Writeline(c); ii) Code: char l ='k'; float b = 19.0f; int c; c = Convert.ToInt32(l / b); console.writeline(c); A. Yes B. No
T Thành Đạt New member Sep 18, 2021 #2 Answer: b Explanation: Output – Code: 1) 5. 2) 6. Upvote 0 Downvote