题目内容
请阅读下面的程序,分析程序是否能编绎通过并正确运行,如果不能,说明原因;如果能,请写出运行结果。头文件foo.hstruct Foo{int i;};头文件bar1.h#include "foo.h"void bar1(struct Foo f);头文件bar2.h#include "foo.h"void bar2(struct Foo f);main()函数中调用:#include "foo.h"#include "bar1.h"#include "bar2.h"void main(){struct Foo f = { 1 };bar1(f);bar2(f);}
查看答案
搜索结果不匹配?点我反馈