cin can read directly one-dimension array (true or false ) in c++
Answers
Answered by
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
Computer Science,
4 months ago
English,
4 months ago
Computer Science,
4 months ago
India Languages,
9 months ago
Social Sciences,
1 year ago
India Languages,
1 year ago