若有以下说明语句,则该语句()。chars=92; A、使s的值包含1个字符B、说明不合法,s的值不确定C、使s的值包含4个字符D、使s的值包含3个字符
若有以下说明语句,则该语句()。chars=92;
A、使s的值包含1个字符
B、说明不合法,s的值不确定
C、使s的值包含4个字符
D、使s的值包含3个字符
相关考题:
若有char s[3][3]=={"AAA","BBB","CCC"};说明语句,则与它等价的语句是( )。A.char**s={"AAA","BBB","CCC"};B.char*s[3]={"AAA","BBB","CCC"};C.char s[][5]={"AAA","BBB","CCC"};D.char s[][3]={"AAA","BBB","CCC"};
若有以下的说明语句,则与它等价的说明是char s[3][5]={"aaaa","bbbb","cccc"};A.char**s1={"aaaa","bbbb","cccc"};B.char*s2[3]={"aaaa","bbbb","cccc"};C.char s3[][5]={"aaaa","bbbb","cccc"};D.char s4[][4]={"aaaa","bbbb","cccc"};
若有以下的说明和语句, 则它与()中的说明是等价的。 char s[3][5]={"aaaa","bbbb","cccc"};A.char s1[ ][ ] ={"aaaa","bbbb","cccc"};B.char s2[3][] ={"aaaa","bbbb","cccc"};C.char s3[ ][5]={"aaaa","bbbb","cccc"};D.char s4[ ][4]={"aaaa","bbbb","cccc"};
若有以下定义和语句:char s[12]= "a book!" ;cout< <strlen(s);则输出结果是()A.12B.8C.7D.6