Typecasting
Wed Jun 08 2022 05:24:43 GMT+0000 (Coordinated Universal Time)
Saved by
@KanishqJ8
/*converting one data type to another
syntax: (type) value*/
int main(){
int a=3;
float b=(float)54/5;
printf("the value of a is %f\n",b);
return 0;
}
content_copyCOPY
Comments