当前位置:网站首页>反应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);
}边栏推荐
- Dragon Book tiger Book whale Book gnawing? Try the monkey book with Douban score of 9.5
- 2022年PMP项目管理考试敏捷知识点(2)
- Previous string inversion topic
- 一个五年北漂的技术er,根据这些年的真实经历,给应届生的一些建议
- 2022-06-24:golang选择题,以下golang代码输出什么?A:1;B:3;C:4;D:编译失败。 package main import ( “fmt“ ) func mai
- Application of global route guard
- 网易开源的分布式存储系统 Curve 正式成为 CNCF 沙箱项目
- 查询法,中断法实现USART通信
- c盘使用100%清理方法
- scrapy+scrapyd+gerapy 爬虫调度框架
猜你喜欢

软件测试 避免“试用期被辞退“指南,看这一篇就够了
![[observation] objectscale: redefining the next generation of object storage, reconstruction and innovation of Dell Technology](/img/82/8cac87231e51698ab17f1274b3a0bd.jpg)
[observation] objectscale: redefining the next generation of object storage, reconstruction and innovation of Dell Technology

COSCon'22 讲师征集令

开源社邀请您参加OpenSSF开源安全线上研讨会

Jincang KFS data cascade scenario deployment

无心剑中译伊玛·拉扎罗斯《新巨人·自由女神》

Detailed explanation of Android interview notes handler

FPGA基于VGA显示字符及图片

中國信通院沈瀅:字體開源協議——OFL V1.1介紹及合規要點分析

中国信通院沈滢:字体开源协议——OFL V1.1介绍及合规要点分析
随机推荐
GaussDB 集群维护案例集-sql执行慢
Shen Lu, China Communications Institute: police open source Protocol - ofl v1.1 Introduction and Compliance Analysis
撸一个随机数生成器
Handling of NPM I installation problems
How to start the phpstudy server
Is it safe for Guosen Securities to open a securities account
【系统分析师之路】第六章 复盘需求工程(综合知识概念)
有关计网的五种类型题
Kingbasees plug-in DBMS of Jincang database_ RANDOM
视频会议一体机的技术实践和发展趋势
持续交付-Jenkinsfile 语法
[维护集群案例集] GaussDB 查询用户空间使用情况
Upload and modify the use of avatars
垃圾回收机制
Get to know Prometheus
c盘使用100%清理方法
Free access to the global human settlements layer (ghsl) dataset from Gee
XSS攻击
Application of global route guard
TASK03|概率论