将标准输入重定向到文件input.dat的语句是
A.freopen(stdin,"r","input.dat"); B.freopen(stdout,"r","input.dat"); C.freopen("input.dat","r",stdin); D.freopen("input.dat","r",stdout);正确答案D
将标准输入重定向到文件input.dat的语句是
A.freopen(stdin,"r","input.dat"); B.freopen(stdout,"r","input.dat"); C.freopen("input.dat","r",stdin); D.freopen("input.dat","r",stdout);正确答案D