运算时,float以double型运算,char、short以int型运算。不同级别间运算,以高级型运算。(所有转换由电脑自动完成)
各类型数据混合运算
原文:http://www.cnblogs.com/xixixing/p/6057355.html