|
-
February 21st, 2012, 06:16 PM
#3
Re: C++ Recursive function has me stumped
But there isn't an index at 5. The assignment states:
a[0] = 'A' a[1] = 'B' a[2] = 'C'
a[3] = 'D' a[4] = 'E'
and the bounds are 1 and 4. Then after the function is run the array elements should
be:
a[0] = 'A' a[1] = 'D' a[2] = 'C'
a[3] = 'B' a[4] = 'e'
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|