black

02600C语言程序设计

登录

填空题

以下程序运行后的输出结果是()。     
main( ) 
{int a=1,b=3,c=5;     
if(c=a+b)    
printf(“yes”);     
else 
printf(“not”); 
} 

【参考答案】

yes

相关考题

填空题 以下程序运行后的输出结果是()。    main( )       {char m;  m=‘B’+32;printf(“%c”,m);     }

填空题 以下程序运行后的输出结果是()。      main( )  {int a=010,b=2,c;      c=a+b;  printf(“%d”,c);      }

填空题 设a为int变量,执行a=1/2+1/2;语句后,a的值为()

All Rights Reserved 版权所有©PP题库网库(pptiku.com)

备案号:湘ICP备14005140号-5

经营许可证号:湘B2-20140064