char arrURI[1]; -- creates an array of size one
-- so there are two indexes 0 and 1
Actually there is only 1 index, which is 0 in char A[1];
A[0] = 'a'; //ok
A[1] = 'b'; //bug
Reputation Points: 840
Solved Threads: 594
Senior Poster
Offline 3,864 posts
since Dec 2008