• @AgreeableLandscapeOPM
    link
    13 years ago

    Does C/C++ do automatic type casting? I feel like an operation on false shouldn’t be a valid input for an integer variable. At least I hope not.

    • mae
      link
      23 years ago

      booleans are implemented as having int values of 0 and 1, so kinda?