單項選擇題以讀寫方式打開一個已有的文本文件file1,并且FILEfp,下面fopen函數(shù)正確的調(diào)用方式是()

A.fp=fopen("file1","r")
B.fp=fopen("file1","r+")
C.fp=fopen("file1","a")
D..fp=fopen("file1","w")


您可能感興趣的試卷