The first and the third way are the same except one is easier to type. So the comment for the third is also valid for the first.
And yes, it will not include '\0' in length. It reduces the length by 1 but it is still there.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
The first and the third way are the same except one is easier to type. So the comment for the third is also valid for the first.
And yes, it will not include '\0' in length. It reduces the length by 1 but it is still there.