輸入一字符串(換行為結束標志)統計其中數字(0,1,2,…,9不單獨統計)、空白和其它字符出現的次數。
(1)digit=0,blank=0,other=0
(2)c>='0'&&c<='9'
(3)++other或者other++
暫無解析
設charstring[]="This_is_a_book!";則數組的長度應是____________。
執行下列程序
后輸出的結果是()
求出10至1000之內能同時被2、3、7整除的數,并輸出。
設
structstudent
{
第3頁
intno;
charname[12];
floatscore[3];
}s1,*p=&s1;
用指針法給s1的成員no賦值1234的語句是____________。