Computer Science, asked by oo864337, 9 months ago

cin can read directly one-dimension array (true or false ) in c++

Answers

Answered by adityapandeyadv
0

Answer:

Zero is used to represent false, and One is used to represent true. For interpretation, Zero is interpreted as false and anything non-zero is interpreted as true. C++ is backwards compatible, so the C-style logic still works in C++. ( "true" is stored as 1, "false" as 0. )

Similar questions