Multiple choice

When a non-fatal I/O error has occurred in the file being currently used, then the value of ______ stream-state is 1.

  1. <span style="font-size:11.0pt;line-height:115%;font-family:"Calibri","sans-serif";mso-ascii-theme-font:minor-latin;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:"Times" new="">eofbit

  2. <span style="font-size:11.0pt;line-height:115%;font-family:"Calibri","sans-serif";mso-ascii-theme-font:minor-latin;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:"Times" new="">failbit

  3. badbit

  4. goodbit

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

This option is correct because the value of “failbit” is 1, when a non-fatal I/O error is encountered.