Computer Science, asked by hrushikeshpv2354, 3 months ago

What are the types of casting shown in the following examples? [2]

double x=23.3;

int a=20;

(i) int y=(int)x;

(ii) long b=a;​

Answers

Answered by mayank9261
2

Answer:

What are the types of casting shown in the following examples? [2]

double x=23.3;

int a=20;

(i) int y=(int)x;

(ii) long b=a;

Similar questions