可作为报表记录源的是______。
A.表
B.查询
C.SELECT语句
D.以上都可以
参考答案:D
解析: 报表的信息来自基础的表、查询或SQL语句(它们是报表数据的来源)。
藏族群众转经筒、叩长头和转寺院应以( )方向转动。
A.逆时针 B.顺时针 C.交错 D.平行
下列给定程序中,函数fun()的功能是:计算s所指字符串中含有t所指字符串的数目,并作为函数值返回。 请改正程序中的错误,使它能得出正确的结果。 注意:不要改动main函数,不得增行或删行,也不得更改程序的结构。 试题程序: #include <conio.h> #include <string.h> #include <stdio.h> #define N 80 int fun(char *s,char *t) int n; char *p, *r; n=0; while(*s) p=s; /**************found***************/ r=p; while(*r) if*r==*p) r++; p++; else break; /**************found***************/ if(*r==0) n++; s++; return n; main() char a[N],b[N]; int m; clrscr(); printf("\nPlease enter string a:"); gets(a); printf("\nPlease enter substring b:"); gets(b); m=funa,b); printf("\nThe result is :m=%d\n",m);