# include <stdio.h> void main() { char ch1 = 'A', ch2 = 'a'; printf("%c\n", (ch1, ch2)); }
# include <stdio.h> void main() { char ch1 = 'A', ch2 = 'a'; printf("%c\n", (ch1, ch2)); }
日期:2018-03-19 18:55:09 人气:1
(ch1,ch2)是逗号表达式,结果是最后边的值,即ch2,所以输出a
希望有帮助