摘要:
#include<stdio.h> void p1() { printf("******************\n"); } void p2() { printf("一起学习C语言函数呀!\n"); } int main() { p1(); p2(); p1(); return 0; } 例题中p 阅读全文
摘要:
原理: 这类题目主要通过ASCII(美国信息交换标准代码)码差值实现,A对应ASCII码十进制数字是65,a对应ASCII码十进制数字是97,即大小写字母之间ASCII码差值为32,想要将大写字母转换为小写字母可以将该字符ASCII码值+32,同理小写字母转换成大写字母只需将该字符ASCII码值-3 阅读全文