会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
20030616phj
博客园
首页
新随笔
联系
订阅
管理
2022年8月26日
static
摘要: C语言中static的作用 1 void test() 2 { 3 int b = 1; 4 b++; 5 printf("b=%d\n", b); 6 } 7 int main() 8 { 9 int a = 0; 10 while (a < 5) 11 { 12 test(); 13 a++;
阅读全文
posted @ 2022-08-26 08:25 PHJ15161147101
阅读(54)
评论(0)
推荐(0)
2022年8月12日
初学C语言之if else语句
摘要: 1 #include<stdio.h> 2 #include<string.h> 3 int main() 4 { 5 int input = 0; 6 printf("自学C语言\n"); 7 printf("你会好好学习吗?(1/0)>:"); 8 scanf("%d", &input); 9
阅读全文
posted @ 2022-08-12 17:40 PHJ15161147101
阅读(23)
评论(0)
推荐(0)
公告