根据下列程序的执行结果,可以断定划线部分的修饰符应为 【14】 。
执行结果:
i9a football is created.
a football is created.
i=10
a football is destroyed.
a football is created.
i=20
a football is destroyed.
a football is destroyed.
源程序:
# inelude<iostream. h>
class Footballpublic:
Football() cout<<"a football is created. "<<end1;
~Football() cout<<"a football is destroyed. "<<end1;
;
void func(int i) ______ Football f1;
Football f2;
cout<<"i= "<<i<<end1;void main() func(10);
func(20);