单项选择题

假设有”int  x=1;“,以下哪个代码导致”可能损失精度,找到int需要char“这样的编译错误?
A、short t=12+'a';
B、char c='a'+1;
C、char m='a'+x;
D、byte n='a'+1;

微信扫码免费搜题