#define _CRT_SECURE_NO_WARNINGS 1
#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);
Add(&num);
printf("%d\n", num);
Add(&num);
printf("%d\n", num);
return 0;
}
标签:调用,函数,int,Add,num,printf,SECURE From: https://blog.51cto.com/u_15838933/5795098