Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

C Type Casting with examples

float my_float = 42.8f;
int my_int;
my_int = (int)my_float;          // => my_int=42
Source by cpbook.subeen.com #
 
PREVIOUS NEXT
Tagged: #C #Type #Casting #examples
ADD COMMENT
Topic
Name
3+8 =