Brahma Prakash Shukla

Brahma Prakash Shukla

  • 217
  • 8.7k
  • 233.4k

Which is the correct order for explicit type ?

Nov 11 2022 9:31 AM

Which is the correct order for explicit type conversion to convert a larger to a smaller type in C#?

  1. double -> float -> long -> int -> char -> bool
  2. double -> float -> long -> int -> char
  3. float -> double -> long -> int -> char
  4. float -> double -> long -> int -> char -> bool

Answers (1)