如果反馈的结果是使输出变化减弱,则为()。
A.正反馈
B.负反馈
C.乘反馈
D.除反馈
A.正反馈
B.负反馈
C.乘反馈
D.除反馈
第1题
已知函数isalpha(ch)的功能是判断自变量ch是否是字母,若是,函数值为1,否则为0。下面程序的输出结果是______。
#include<xtype.h>
#include<string.h>
void fun4(char str[])
{int i,j;
for(i=0,j=0;str[i];j++)
if(isalpha(str[i]))str[j++]=str[i];
str[j]='\0';}
main()
{ char ss[80]="It is!";
fun4(ss);
printf("%s\n", ss):}
第4题
下列各项事例都体现了“反馈效应”,除了()。
第5题
第6题
当执行下面的程序时,如果输入ABC,则输出结果是______。
#include'stdio.h"
#include"string.h"
main()
{ char ss[10]="12345";
gets(ss);
strcat(ss,"6789");
printf("%s\n",ss);
}
第7题
A.7
B.6
C.5
D.4
第8题
第10题
写出程序的运行结果。
#include
main()
{int a, b;
scanf ("%d%d", &a, &b);
if (a>=h) printf("Yes");
printf (" a+h =%d\n", a+h );
}
如果输入:a=6,b=8,则输出结果是___________
第11题
A.ABC6789
B.ABC67
C.12345ABC6
D.ABC456789