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
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