Computer Science, asked by sattyamasiddhartha9a, 21 days ago

what is the difference between implicit and explicit type casting?​

Answers

Answered by rukminidadireddy
1

Answer:

hope this will help you.

Attachments:
Answered by pauljason
1

Answer:

Implicit Type Conversion  

An implicit type conversion is automatically performed by the compiler when differing data types are intermixed in an expression. An explicit type conversion is user-defined conversion that forces an expression to be of specific type.

Explicit Type Conversion

An implicit type conversion is performed without programmer's intervention. An explicit type conversion is specified explicitly by the programmer.

A)    Example:

a, b = 5, 25.5

c = a + b

B) Example:

a, b = 5, 25.5

c = int(a + b)

Hope it helps friend..

Similar questions