摘要: Z1S6 当表达式中存在有符号类型和无符号类型时,所有的操作数都自动转换成无符号类型。 char getChar(int x, int y) { char c; unsigned int a = x; (a + y > 10)? (c = 1): (c = 2); return c; } //-7 阅读全文
posted @ 2017-10-01 19:47 宇尉 阅读(99) 评论(0) 推荐(0) 编辑