C Example of Explicit Type Casting program

Typecasting : when relation with two different type of data one is higher side and another is lower side  so data should be possibilty of truncated(loss). so protect data we required Type Casting 

Explicit Type Casting  in which convert data forcefully from one datatype to  another datatype

write a c program example of Explicit Type Casting  in which conversion is forcefully convert data into another datatype

OUTPUT of  a c program  Explicit Type Casting , it  forcefully convert data into another datatype

Enter Marks of three subjects

45    46        45

Average = 45.333333

(Visited 56 times, 1 visits today)

Leave a Reply

Your email address will not be published. Required fields are marked *

Reload Image