home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH03 / A03084.TXT < prev    next >
Encoding:
Text File  |  1993-11-16  |  329 b   |  6 lines

  1. A type can be converted implicitly or explicitly.  An operator
  2. that converts its operands from one type to another is performing
  3. an implicit, or automatic, conversion.  You can also use a cast
  4. expression to explicitly convert a type.  Here, the keyword float
  5. enclosed in parentheses casts the type of "y" from int to float.
  6.