#include<stdio.h>
int main(int argc,char **argv)
{
i=1;
a=4;
while(i<3){
printf("a=%d\n",a);
i++;
}
return 0;
你需要定义一下数据类型
少了一个停止的条件