Question:Which of the following type casting is/are not correct? 

A int a=5;
double b= (double)a; 

B int a=5;
double b= a; 

C int a=5;
double b= double (a); 

D int a=5;
double b= double a; 

+ Answer
+ Report
Total Preview: 1684

Copyright © 2024. Powered by Intellect Software Ltd