当前位置:网站首页>A program reflecting the characteristics of C language program structure
A program reflecting the characteristics of C language program structure
2022-06-25 11:14:00 【User 9854323】
1、 reaction c Program with structural characteristics of language program
#include <stdio.h> //#include Used to contain system header files ---- contain c Library function
void putupper(char ch); // Declaration of custom functions
#define SIZE 80 // Defining macro , Represents a constant
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
- 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
- 基于C语言的图书信息管理系统 课程论文+代码及可执行exe文件
- 动态规划解决股票问题(上)
- 撸一个随机数生成器
- Jincang database kingbasees plug-in identity_ pwdexp
- Remove the problem of orange border on the desktop control in WebView
- Getting started with Apache Shenyu
- 龙书虎书鲸书啃不动?试试豆瓣评分9.5的猴书
猜你喜欢

Coscon'22 lecturer solicitation order

SystemVerilog(十三)-枚举数据类型

TASK03|概率论

【观察】ObjectScale:重新定义下一代对象存储,戴尔科技的重构与创新

Garbage collection mechanism

Software testing to avoid being dismissed during the probation period

Query method and interrupt method to realize USART communication

Jincang KFS data centralized scenario (many to one) deployment

SystemVerilog (XIII) - enumerate data types

XSS攻击
随机推荐
Google Earth Engine(GEE)——evaluate實現一鍵批量下載研究區內的所有單張影像(上海市部分區域)
Dragon Book tiger Book whale Book gnawing? Try the monkey book with Douban score of 9.5
GaussDB 集群维护案例集-sql执行慢
COSCon'22 讲师征集令
Is it safe for Guosen Securities to open a securities account
开源社邀请您参加OpenSSF开源安全线上研讨会
Network remote access using raspberry pie
Learn to learn self-study [learning to learn itself is more important than learning anything]
Google Earth Engine (Gee) - evaluate réalise le téléchargement en un clic de toutes les images individuelles dans la zone d'étude (certaines parties de Shanghai)
16 enterprise architecture strategies
2022 PMP project management examination agile knowledge points (2)
zabbix分布式系统监控
After reading this article, I will teach you to play with the penetration test target vulnhub - drivetingblues-7
Daily Mathematics Series 52: February 20
网络远程访问的方式使用树莓派
Output reading: apply what you have learned
Nuxtjs actual combat case
中国信通院沈滢:字体开源协议——OFL V1.1介绍及合规要点分析
服务端渲染
c盘使用100%清理方法