#include<stdio.h>
void Add(int*p)
{
(*p)++;
}
int main()
{
int num =0;
Add(&num);
printf("%d\n",num);
Add(&num);
printf("%d\n",num);
Add(&num);
printf("%d\n",num);
return 0;
}
标签:调用,函数,int,void,Add,num,printf,main From: https://blog.51cto.com/u_13668714/5837375