这表达式什么意思?
if(Key==Data[return 1;Counter i])++;
来自以下代码
int Data[20]={1,7,9,12,15,16,20,32,35,67,78,80,83,89,90,92,97,108,120,177};
int Counter=1;
int Seq_Search(int Key)
{
int i;
for (i=0;i<20;i++)
{printf("[%d]",Data[i]);
if(Key==Data[return 1;Counter i])
++;
}
return 0;
}
void main()
{
int KeyValue;
printf("Please enter your key value:")
scanf("%d",&KeyValue)
if(Seq_Search(KeyValue))
printf("\nSearch Time=%d\n",Counter);
esle printf("No Found!!\n");
}