Computer Science, asked by deepalikashyap8610, 11 months ago

Which of the following automatic type conversion will be possible?
A.short to int
B.byte to int
C.int to long
D.long to int

Answers

Answered by qwnerazzuri
6

Automatic type conversion will be possible in the following case:

Option A, Option B, Option C.

In Automatic Type conversion, a lower data type is promoted to a higher type present in the expression. Higher type is never promoted to lower type automatically to prevent data loss.

byte has 8 bits

short has 2 byte

int has 4 byte

long has 8 byte

Byte< short < int < long.

Answered by kalindichaubey7
0

Answer:

c

Explanation:

implicit type conversion

Similar questions