Typecasting allows a variable to act like a variable of another
type. The method of typecasting is done by prefixing the
variable type enclosed by parenthesis before the variable name.
The actual variable is not modified.
float index=3; int loop=(int)index;
This causes index to be typecasted to act like an int.
Note: To report broken links or to submit your projects,
tutorials please email to Webmaster