试题详情
单项选择题若有charfname[]="outfile.dat";,则为写而打开文本文件outfile.dat正确写法是()

A、fopen(“outfile.dat,"w")

B、fopen(outfile.dat,"w")

C、fopen(fname,"w")

D、fopen("fname","w")

  • C
  • 关注下方微信公众号,在线模考后查看

热门试题