问题 填空题

有以下程序

  #include

  main()

  { int a=1,b=2,c=3,d=0;

  if(a==1)

  if(b!=2)

  if(c==3) d=1;

  else d=2;

  else if(c!=3) d=3;

  else d=4;

  else d=5;

  printf(“%d\n”,d);

  }

  程序运行后的输出结果是 () 。

答案

参考答案:D

填空题
单项选择题