一个语句不懂 各位大侠帮忙解读
#include<stdio.h>int main(void)
{
char former=0,present;
int count=0;
while((present=getchar()) != '#')
{
if((former == 'e') && (present == 'i')) count++;
former = present;
}
printf("ei has appeared %d times\n",count);
}
(former = present;)这个语句什么意思