The steps for deleting an element from a fixed-size array are given below. Please sort them in the correct order:
Fixed-size array
Deleting an element
Report a typo
Put the items in the correct order
Copy all elements from the old array to the new array except the one you want to delete
Read the array length of the old array. Let's call it L
Create a new array of length (L - 1)
Delete the old array
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.