摘要: 没啥好说的,直接上代码吧。 1 #include<stdio.h> 2 3 void test1(int x) { 4 5 x = 1024; 6 printf("test函数内部 x=%d\n",x); 7 } 8 //不调用引用 9 void test2(int & x) { 10 11 x = 阅读全文
posted @ 2021-05-27 11:26 徐柿子 阅读(80) 评论(1) 推荐(0)