当前位置:网站首页>反应c语言程序结构特点的程序
反应c语言程序结构特点的程序
2022-06-25 10:57:00 【用户9854323】
1、反应c语言程序结构特点的程序
#include <stdio.h> //#include 用来包含系统头文件----含有c库函数
void putupper(char ch); //自定义函数的声明
#define SIZE 80 //定义宏,表示常量
void main()
{
char str[SIZE];
int i;
gets(str);
for (i=0;str[i]!='\0';i++)
{
putupper(str[i]);
printf("\n");
}
}
void putupper(char ch){
char cc;
cc=(ch>='a' && ch<='z')? ch+'A'-'a':ch;
putchar(cc);
}边栏推荐
- Shen Ying, China Academy of communications and communications: font open source protocol -- Introduction to ofl v1.1 and analysis of key points of compliance
- Upload and modify the use of avatars
- 某APP中模拟器检测分析
- 报名开启|飞桨黑客马拉松第三期如约而至,久等啦
- [the path of system analyst] Chapter 6: Double inventory demand engineering (comprehensive knowledge concept)
- CSRF attack
- June 24, 2022: golang multiple choice question, what does the following golang code output? A:1; B:3; C:4; D: Compilation failed. package main import ( “fmt“ ) func mai
- Writing wechat applet with uni app
- Daily 3 questions (3) - check whether integers and their multiples exist
- Checking whether the double value is an integer - Swift - checking if a double value is an integer - swift
猜你喜欢
随机推荐
Free access to the global human settlements layer (ghsl) dataset from Gee
zabbix分布式系统监控
Continuous delivery jenkinsfile syntax
Five types of questions about network planning
FPGA基于VGA显示字符及图片
开源社邀请您参加OpenSSF开源安全线上研讨会
Flutter adds event listening | subscription
每日3題(3)-檢查整數及其兩倍數是否存在
Writing wechat applet with uni app
Performance file system
Garbage collection mechanism
Android: generic mapping analysis of gson and JSON in kotlin
Complete steps for a complete Oracle uninstall
[maintain cluster case set] gaussdb query user space usage
Performance memory
Checking whether the double value is an integer - Swift - checking if a double value is an integer - swift
Floating window --- create a system floating window (can be dragged)
Cdn+cos ultra detailed steps for drawing bed construction
金仓KFS数据级联场景部署
服务端渲染









