8 Matching Annotations
  1. Apr 2021
    1. Q-4: T/F: It is necessary to have an else statement after an if statement? (Hint: Test it out in the code above)

      Tested it out, didn't give me an output

    1. In C++ the value of each variable is stored directly in memory without the need for either a reference or an object. This makes access faster, but it is one of the reasons we need to declare each variable because different types take differing amounts of space in memory!

      maybe

    2. false == 0 and true = !false i.e. anything that is not zero and can be converted to a Boolean is not false, thus it must be true.

      don't quite get

    3. Note that the internally stored values representing true and false are actually 1 and 0 respectively.

      maybe