Which of the following is the state bit that can be tested to see if the end of an input stream is encountered?

a. ios::eof
b. ios::eofbit
c. ios::failbit
d. ios::badbit
e. None of these

b. ios::eofbit

Computer Science & Information Technology

You might also like to view...

All of the following activities may infect your computer with a virus EXCEPT ________

A) downloading video files from peer-to-peer sites B) downloading or running an e-mail attachment file C) printing a document D) sharing flash drives

Computer Science & Information Technology

The result of =LEFT("Dallas, Texas", 9 ) is ________

A) as, Texas B) las,Texas C) Dallas, T D) Dallas,Te

Computer Science & Information Technology