printf("%i",2+'5'-'0'); //2 '5'的ascii码是53,减去‘0’的ascii码48,刚好是5。 printf("%c",'5'+2); //7 转载于:https://www.cnblogs.com/pengyingh/articles/2362440.html