Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Type of Conversion in which compiler is unable to convert the data type implicitly is?

a) ushort to long
b) int to uint
c) ushort to long
d) byte to decimal

Answer: b
Explanation: ‘int’ is 32 bit signed integer whereas ‘uint’ is 32 bit unsigned integer. Range of int is larger than uint. So, the compiler cannot implicitly convert from larger data type to smaller data type.

Join The Discussion