题目内容

设有定义:int a=6, b=3, c=9, d=2; 则表达式a

查看答案
更多问题

有变量定义:int a=5,b=4,c=3; 则表达式a>b>c的值为______。

已知a=1,b=2,c=3;则表达式: !(a>b)&&!c||1的值为_____。

以下程序的运行结果是______。#include using namespace std;int main( ){ int p,a=5; if (p=a!=0)cout << p << endl; else cout << p+2 << endl; return 0;}

以下程序的输出结果是______。#include using namespace std;int main( ){int s,i; for ( s=0,i=1; i<4; i++,s+=i ); cout << s << endl; return 0;}

答案查题题库