21.在 C++中执行以下 4 条语句后输出 rad 值为: .
t=hot+100;
举一反三
- 在 C++ 中有以下 4 条语句: static int hot=200; int &rad=hot; hot=hot+100; cout<<rad<<endl; 执行这 4 条语句后输出为:
- 在 C++中执行以下 4 条语句后输出 rad 值为( )static int hot=200;int &rad=hot;hot=hot+100;cout<<rad<<endl; A: 0 B: 100 C: 300 D: 500
- 在C++中执行以下4条语句后输出rad值为: static int hot=200 ; int &rad=hot ; hot=hot+100 ; cout<<rad<<endl ;
- 在C++中执行以下4条语句后输出rad值为() A: 0 B: 100 C: 300 D: 200
- 在C++中执行以下4条语句后输出rad值为:( ) static int hot=20; int &rad=hot; hot=hot+100; cout< A: 0 B: 120 C: 20 D: 100
内容
- 0
在C++中有以下4条语句:static int hot=200;int &rad=hot;hot=hot+100;cout<<rad<<endl;执行这4条语句后输出为: A: 0 B: 100 C: 200 D: 300
- 1
执行以下语句后,输出sum的值为( )。56b334ace4b0e85354c03266.png
- 2
inta=4;执行a+=3;语句后,a的值是___inta=4;执行a-=3;语句后,a的值是___inta=4;执行a*=3;语句后,a的值是___inta=4;执行a/=3;语句后,a的值是___inta=4;执行a%=3;语句后,a的值是___
- 3
C#中执行下列语句后,int n=21;n<<=1;n的值为()
- 4
执行C++程序中的语句:int x = 5, y; y = --x; 执行后变量x和y的值分别为( )。 A: 4, 4 B: 4, 5 C: 5, 4 D: 5, 5