会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
down^to^earth
博客园
首页
新随笔
联系
订阅
管理
2022年7月22日
指针作为形参问题
摘要: 点击查看代码 void swap1(int *p1,int *p2) { int *temp; temp = p1; p1 = p2; p2 = p_temp; } int main() { int a = 10,b = 20; printf("交换之前:%d,%d\n",a,b); printf(
阅读全文
posted @ 2022-07-22 10:23 down^to^earth
阅读(32)
评论(0)
推荐(0)