lenaben

2017年9月5日

通过另一个函数,改变主函数中的局部变量

摘要: 1.通过另一个函数,改变主函数中的局部变量 #include<stdio.h> #include<stdlib.h> void main(int *x){ *x=300 } void main(){ int x=200; f_test(&x); printf("x is %d\n",x); syst 阅读全文

posted @ 2017-09-05 22:10 lenaben 阅读(364) 评论(0) 推荐(0)

导航