Please enter the keyword to search
查看更多 "" 的搜索结果
If char str[10]="hello ", the following statement is incorrect. Aprintf("%s",str); Bprintf("%c",str[0]); Cscanf("%s",str); Dscanf("%c",str[0]):
0 Answer
the reference answer GPT ᴼ ᴾ ᴱ ᴺ ᴬ ᴵ < br / > D.
Because scanf("%c", str[0]) should have a character type as its argument type, not a character array type, scanf("%c", & str[0]).
D, the character input should add the address &
scanf("%c", &str[0]);
这家伙很懒,什么都没留下...