Computer Science, asked by TbiaSamishta, 1 year ago

If all reading and Writing operations get failed then bad () returns false value. State whether True or false

Answers

Answered by vikirant
0
the answer is true but also Falls because it is called addictive answer .
Answered by Secondman
0

ANSWER: FALSE

“bad()” function is one among the functions to check state flags.

This flag is set while reading or writing data on a stream.

The answer for the question is false.

It is because, when all the reading and writing operations results in a failure, it returns a true value.

It returns false when the file end is reached on input operations, no logical errors on I/O operation or any other error.

Similar questions