慕粉1302204979
2021-02-06 21:52
#include <stdio.h>
void a()
{
int i;
printf("address of i in a is %d\n", &i);
i=99;
printf("value of i in a is %d\n", i);
}
void b()
{
int i2;
printf("address of i2 in b is %d\n", &i2);
printf("value of i2 in b is %d\n", i2);
}
int main()
{
a();
b();
return 0;
}输出结果:
address of i in a is 926478900
value of i in a is 99
address of i2 in b is 926478900
value of i2 in b is 99
还没有人回答问题,可以看看其他问题
C语言入门
928119 学习 · 21543 问题
相似问题