正在加载图片...
(五)数据类型转换 1、自动类型转换 double←foat lon g unsigned 低 char short 2、强制类型转型 转换形式为:(类型)表达式; 例:intx=3,y=2; float f f=(float )x/y;(五)数据类型转换 1、自动类型转换 double float 高 long unsigned 低 int char,short 2、强制类型转型 转换形式为:(类型)表达式; 例:int x=3,y=2; float f; f=(float)x/y;
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有