Contents Part I: Creating and Using User Defined Functions | Appendix A. C Programming Basics | Print page A.7. CastingYou can convert from one data type to another by casting. A cast is denoted by type, where the type is int, float, and so on, as shown in the following example:int x = 1; real y = 3.14159; int z = x+((int) y); /* z = 4 */ « A.6. User-Defined Data Types A.8. Functions »