题目内容

#includeusing namespace std; void main() { int x,i,j,k; cout << "please input x:"; cin >> x; i = x/100; j = x/10 %10; k = x%10; cout << k << j << i << endl; } 以上程序运行时输入123,如下: please input x:123 则程序的执行结果是:__________________。

查看答案
更多问题

写出下列程序的执行结果是:__________________。#include #includeusing namespace std;void main(){ int a=15; int &ra=a; int *pa=&a; cout<

写出下列程序的执行结果是:__________________。 #includeusing namespace std; void main() { int x,y,z,f; x = y = z = 1; f = --x || y-- && z++; cout << "x = " << x <<","; cout << "y = " << y <<","; cout << "z = " << z <<","; cout << "f = " << f << endl; }

写出下列程序的执行结果是:__________________ #includeusing namespace std; void main() { int a = 1, b = 2; bool x, y; cout << (a++)+(++b) <<","; cout << a % b << ","; x = !(a>b); y = a-- && b; cout << x << ","; cout << y << endl; }

#includeusing namespace std; int main() { cout<<"Hello!"; } 这个程序的输出结果是______。

答案查题题库