题解 | #字符转ASCII码#
字符转ASCII码
https://www.nowcoder.com/practice/93f4d05a02d9468db424ed4316bfc8fd
#include <stdio.h> int main() { char a; scanf("%c",&a); printf("%d",a); return 0; }
这道就是注意%c和%d的转换
字符转ASCII码
https://www.nowcoder.com/practice/93f4d05a02d9468db424ed4316bfc8fd
#include <stdio.h> int main() { char a; scanf("%c",&a); printf("%d",a); return 0; }
这道就是注意%c和%d的转换
相关推荐