Why do we get this error?.what is meaning of this error?
Arrays are 0 indexed, that means that an array with 3 elements will have elements at indexes 0, 1, and 2.
3 is out of bounds, so when you try to access pos or len, your program will thrown an exception.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.