Computer Science, asked by chandhrakumar494, 2 months ago



​what are the types of casting shown by the following examples?
double p=12.3;
int a=14;

i)Long b =a;
ii) int q=(int)p;

Don't spam, Don't give rubbish answer to me.

Otherwise your answer will be reported.

Guys please answer to this question for God sake ​

Answers

Answered by subhamnayak83
0

Answer:

The output is as follows:

Explanation:

(i)14

(ii)12

Similar questions