您的位置:首页 > 其它

【程序44】学习使用external的用法

2013-04-11 16:22 936 查看
题目:学习使用external的用法

#include <stdio.h>
int a,b,c;
void add()
{
int a;
a=3;
c=a+b;
}
int main()
{
a=b=4;
add();
printf("The value of c is equal to %d\n",c);
return 0;
}


内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: