Which of the following will result in an off-by-one error?
All of the above.
Using < instead of <= in the loop condition.
<
<=
Incrementing the loop variable twice in the body
Forgetting to initialize the loop variable.