c语言unsigned char转换成unsigned short,有关c语言数据类型转换之char,unsigned char,unsigned short...
这是一道朗讯的笔试题(我把一些相关资料汇总了一下,希望大家能进来广泛的探讨,不甚感激!)#includeintmain(){charca;unsignedcharucb;unsignedshortusc;ca=128;ucb=128;usc=ca+ucb;printf("%d\n",usc);usc=ca+(short)ucb;printf("%d\n",usc);usc=(unsignedcha