In other word :
Type Conversion refers to translating of values (roughly speaking, contents of the object), so that they may be interpreted as belonging to a new type.
if (d > i) d = i;
if (i > l) l = i;
if (d == l) d *= 2;
Type Casting (or) Explicit Type conversion:
void *temp; //void pointer
i=10 //here temp is a void pointer.temp is used to typecast to anyother pointer
answered May 11, 2016
comment share this
What is the difference between implicit and explicit type casting and what is the problem due to this and it's solution
I think you should read the answer first and I am pretty sure that you won't get question like "What is the difference between implicit and explicit type casting and what is the problem due to this".In some language like Java Type conversion refere to Implicit and TypeCasting refer to Explicit.I haven't heard implicit in C but in java many time.
Now in Java implicit done by compiler if the type is in the range else compiler throw an exception like ClassCastException and in explicit you have to request to compiler that "Hey compiler trust me, the given source object or type is same as destination object or type ".Then compiler cast your source type to destination type and move forward.
For more info just google ,you will get plenty of answers.
In c also implicit type conversion
You will get k=0
When we need explicit type casting