1)

Which implicit datatype conversion is not possible by the compiler?


A) ushort to long

B) int to uint

C) ushort to long

D) byte to decimal

Answer:

Option B

Explanation:

‘int’ datatype is 32 bit signed integer whereas ‘uint’ datatype is 32 bit unsigned integer. Since, the range of int is larger than that of uint, the compiler cannot implicitily convert from larger datatype to smaller datatype.