以下所列的各函数声明中,正确的是______。
A. void play(var a:Integer,var b:Integer) B. void play(int a,int b)
C. Sub play(a as integer,b as integer) D. void play(int a,b)
写出以下程序的执行结果
#include "stdio.h"
main()
{ int a[]={1,2,3,-4,5};
int m,n,*p;
p=&a[0];
m=*(p+2);
n=*(p+4);
printf(“*p=%d,m=%d,n=%d\n”,*p,m,n);
}
有以下程序
#define f(x) x*x
main( )
{ int i;
i=f(4+4)/f(2+2);
printf(“%d\n”,i);
}
执行后输出结果是( )
A) 28 B)