Doubt regarding Type Casting

In Simple Interest Program, there Sir is talking about Type Casting but isn’t it Type Conversion as it is being done automatically by the compiler and the Type Casting is usually specified by the user

@aatish08 Sir considered it as implicit typecasting which is correct. In implicit type casting data type is controlled automatically by the compiler whereas in explicit type casting data type is controlled by the programmer.

1 Like

Just to clear my doubt ,are Implicit Type Casting and Type Conversion same in this scenario??

@aatish08 Yes it is same.

1 Like

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.