C语言中,char型怎么转变成int型?_百度知道
C语言中,char型怎么转变成int型? 匿名 发布于2014-12-24 16:03 最佳答案 自动进行隐式转换char a='f';int tmp=a;或者int tmp=(int)a;这样就可以了 本...
C语言中的int char 的区别_百度知道
在32位系统中,一般int占4个字节,char占1个字节。我估计你是代码扫描程序报错吧,在inBuf[i][j]=y;这句话中如果inBuf是char型,y是int型,那这个赋值就是有...