Saturday, May 22, 2010

Write c program to delete an element in 1-D array at specific location?

Basically what you have to do is start at the element you want to delete and shift every element after it over one, then set the last element to nothing. This will effectively delete that element. And no, I'm not going to write the code for you. It shouldn't be that hard to do.