| 63 | } |
| 64 | |
| 65 | int Array :: Delete (int index) |
| 66 | { |
| 67 | int x=0; |
| 68 | if (index>=0 && index <length) |
| 69 | { |
| 70 | x=A[index]; |
| 71 | for ( int i=index ; i<length-1; i++) |
| 72 | A[i]==A[i+1]; |
| 73 | length --; |
| 74 | } |
| 75 | return x; |
| 76 | } |
| 77 | int main () |
| 78 | { |
| 79 | Array arr(10); |
nothing calls this directly
no outgoing calls
no test coverage detected