Ask your own question, for FREE!
Computer Science 21 Online
OpenStudy (anonymous):

how to delete an array element without using predefined functions/methods in C and Java: Without using predefined functions!

OpenStudy (woodrow73):

You could just make another array of 1 less length, copy it in a loop (skipping the desired element) and then assigning the original array = to the copied array.

OpenStudy (e.mccormick):

Well, rashid, what did you come up with so far?

OpenStudy (anonymous):

Try using a FOR loop with start-index value the index of the element you want to remove from the array. Then shift the position of the elements after the index. I can explain better using an actual code but I don't like to spoon-feed an answer.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
Breathless: Spooky witch but cute
53 minutes ago 1 Reply 0 Medals
Arriyanalol: help
1 hour ago 7 Replies 2 Medals
Arriyanalol: @tinydinoUwU stop trying to find a argument u blad lil boy
19 hours ago 5 Replies 3 Medals
Jaded012023: Please tell me what you all think of this song
53 minutes ago 6 Replies 1 Medal
Arriyanalol: bro how
47 minutes ago 2 Replies 2 Medals
Arriyanalol: cant wait for the new bluey movie in 2027
19 hours ago 12 Replies 2 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!