Hey guys!,
I am trying to remove a user specified element from the display of an array. I know that this doesn't take it out of the array, but I figure that if I get this it would be the same process copying it to a temp array and then back.
Code:printf("Please enter number to delete"); scanf("%d",&d); printf("\n\n\nModified list:"); for (i=0;i<x;i++) { if (i = d) { i = i+1; } else { printf("%s",words[i]); } }