有以下程序: #include <iostream> #include <string> using namespace std; int main ( ) { char b1[8] = 'abcdefg'; char b2[8],*pb=b1+3; while (--pb>=b1) strcpy (b2, Pb) ; cout<<strlen (b2) <<end1; return 0; } 程序运行后的输出结果是( )。
A.
8
B.
3
C.
1
D.
7
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
皮皮学刷刷变学霸
举一反三
【单选题】已知 Na 2 SO 3 晶体与浓硫酸可发生反应: Na 2 SO 3 + H 2 SO 4 ( 浓 ) == =Na 2 SO 4 + SO 2 ↑ + H 2 O 。如图所示: 在注射器中加入少量 Na 2 SO 3 晶体,并吸入少量浓硫酸 ( 以不接触纸条为准 ) 。则下列有关说法正确的是 ( )
【简答题】Soccer is a popular ______ for a variety of _________. Firstly, players need to use their _________ and ______ their ________ to play soccer. __________ a good level of fitness helps to ________ _____...
【简答题】(b) Advise Sergio on the appropriateness of investing in a domestic rental property in view of his personal circumstances and recommend suitable alternative investments giving reasons for your advice....