不用那么复杂,如果是int->char ,n直接就printf("%c",n);如果是char -->int,c直接printf ("%d",c); 如果是转化,而不是输出int ...
wenwen.m.sogou.com