Computer Science, asked by shivansh002, 6 months ago

e. What is the type of casting shown by the following example?
(0) double x=15.2:
int y =(int)x;

int x=12:
long y = x;​

Answers

Answered by akashhrawat80
3

Answer:

interger type

Explanation:

type(x)

integer

Answered by prajguna
5

Answer:

double x=15.2:

int y =(int)x; its Explicit conversion

int x=12:

long y = x;​ its Implicit conversion

Explanation:

Similar questions