I want to delete n'th element from array and when I use for loop I want program to print all numbers by sequence except that n'th element.
Ex. 4 7 6 2 9 5.
If I want to delete the 2nd element then after deleting I want to print 4 7 2 9 5 and I don't want to move every element to left.
Is it possible using free() or pointers?
Please explain me, I'm new in pointer programming.
malloc. Perhaps arrays is the wrong kind of data-structure whatever problem you want to solve?