Ad
  • Custom User Avatar

    The C-string ends with a NUL-character and && is evaluated lazily, meaning that if the first statement is false/0 then the right hand statement will not be evaluated. So if ants[0] is NUL, ants[1] nor ants[2] would be accessed. Same if ants[1] is NUL.