Question: When is the fail flag raised ( set / on ) in an input stream object? ( There are at least three ( 3 )

When is the fail flag raised (set/on) in an input stream object? (There are at least three (3) conditions that can cause this...)
Multiple answers:Multiple answers are accepted for this question
Select one or more answers and submit. For keyboard navigation...Show More
a
a numeric-typed extraction (>>) fails to translate anything
b
a numeric-typed extraction (>>) fails to translate to a whitespace
c
the C-string getline fails to find the stop character within the maximum read boundary
d
the string getline fails to find the stop character
e
a file stream open fails to connect to a disk file

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!