If all reading and Writing operations get failed then bad () returns false value. State whether True or false
Answers
Answered by
0
the answer is true but also Falls because it is called addictive answer .
Answered by
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
English,
7 months ago
Math,
7 months ago
Computer Science,
1 year ago
English,
1 year ago
Business Studies,
1 year ago