以下程序的可執(zhí)行文件名為cmdline.exe。 在DOS命令行輸入:cmdline harry<回車>,則輸出結(jié)果是()。
A.You forgot to type your name or you typed more parameters B.Hello harry C.Hello cmdline D.Hello
以下程序運(yùn)行后,屏幕顯示File open error!,則可能的原因是()。
A.當(dāng)前工作目錄下有test.txt文件,但test.txt文件太大 B.test.txt文件不能關(guān)閉 C.當(dāng)前工作目錄下沒有test.txt文件 D.當(dāng)前工作目錄下有test.txt文件,但test.txt文件太小
以下程序運(yùn)行后,屏幕顯示write ok!,下列說法正確的是()。
A.當(dāng)前工作目錄下存在data.txt文件,其中的內(nèi)容為"write ok!" B.fclose(fp);語句的功能是打開文件 C.當(dāng)前工作目錄下一定不存在data.txt文件 D.當(dāng)前工作目錄下一定存在data.txt文件