Advertisement

Type Conversion and Type Casting in c language by Programming Brain

Type Conversion and Type Casting in c language by Programming Brain Type Conversion in 'c' language
int int
float char
long int float
double int
Type casting in 'c' language
a=(float)x/y;
The expression(float)causes the variable x to be converted from type int to type float before being used in the division operation.

#CProgrammingbrain,#CProgrammingLanguagewithNeelamSingh,#CTypeConversion,#CTypeCasting,#IntandFloatintoFloat,#LongIntandFloatintoFloat,

Post a Comment

0 Comments