Ad
  • Default User Avatar

    Yes, but the code will never attempt to read it. That statement is in the if-condition, preceded by the statement "i < roman.size() - 1 && (...)". If the previous statement is false, the if-condition is "short-circuited", meaning the second statement is ignored.