- 博客(2)
- 收藏
- 关注
原创 求一个数字中每一位的数字
求一位数中每一位的数 这是我在刷PAT试题是自己写的一点笔记 其他大佬早已写过相似思路的代码,因为方法就这么几种。有雷同很正常,我只是写点笔记!! 我写出来呢,主要想把它当做自己的笔记记录下来。 #include<stdio.h> #include<math.h> void shu(int e) { int i, g, f; for (i = 1; i < ...
2020-02-10 16:48:25
754
原创 关于形参和指针的一些小归类
@[TOC]关于形参,指针的一些代码 标题在这里插入代码片 关于形参,指针的一些代码 #include<stdio.h> void Swap1(int x,int y) { int temp; temp=x;x=y;y=temp; } void Swap2(int *px,int *py) { int temp; temp=*px;*px=*py;*py=temp; } voi...
2020-02-05 15:45:49
133
3
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人