下列磁盘调度算法中,通常称为电梯算法的是
- A.扫描算法SCAN
- B.最短寻道时间优先算法SSTF
- C.先来先服务算法FCFS
- D.循环查看算法C-LOOK
热度🔥237
解析:打开微信小程序查看本题解析
有以下程序
#include
int fun( char s[])
{ int n=0;
while(*s ='0') { n=10*n+*s-'0' ; s++; }
return (n);
}
main()
{ char s[10]={ '6', '1', '*', '4', '*', '9', '*', '0', '*'};
printf("%d\n",fun(s));
}
程序的运行结果是
有以下程序
#include
#define N 3
void fun( int a[][N], int b[] )
{ int i, j;
for( i=0; i
引入中断技术可以使计算机的运行效率得到提高,下列哪一项对中断响应顺序产生影响?