0
How to delete element in an statuc array
question belongs to all language
1 Odpowiedź
+ 3
If what you mean is to delete an element such that the array's element count decreases, I doubt if it were possible, at least not without a trick, as the name implies, static means non-adjustable.
However, placing an invalid data in place of the target element may be considered, that when being referred to, we simply skip the invalid data. Use of dynamic container is a viable solution, for this types of task, I suppose : )