int a = ch -'0'; 是什么意思?有什么作用?

日期:2021-11-05 17:13:54 人气:1

int a = ch -'0'; 是什么意思?有什么作用?

将字符ch='0','1','2',...'9'转换为数字a=0,1,2,...9
    A+
热门评论