Is Type casting explicit conversion or just type conversion?
Answers
Answered by
2
Type casting is explicit conversion or forced conversion.
Answered by
1
no its differnt we have to forcefully convert one data type to another
for example
normal type conversion is- int x=10;
float y =x;
and explict type conversion is - float x=12.3;
int y=(int)x;
hope it help u
for example
normal type conversion is- int x=10;
float y =x;
and explict type conversion is - float x=12.3;
int y=(int)x;
hope it help u
Similar questions