问题
填空题
以下程序的执行结果是______
#include<iostream.h>
void func(int);
void main()
int k=4
func(k) ;
func(k) :
cout<<end1;
void func(int a)
static int m=0;
m+=a;
cout<<m<<" ";
答案
参考答案:48
以下程序的执行结果是______
#include<iostream.h>
void func(int);
void main()
int k=4
func(k) ;
func(k) :
cout<<end1;
void func(int a)
static int m=0;
m+=a;
cout<<m<<" ";
参考答案:48