programming example write program to delete number from given location in an array #include #include int main(int inposarr[ ]clrscr()printf("\ enter the number of elements in the array ")scanf("% "& )for( = ; < ; ++printf("\ arr[% " )scanf("% "&arr[ ])printf("\nenter the position from which the number has to be deleted ")scanf("% "&pos)for( =posi< - ; ++arr[iarr[ + ] --printf("\ the array after deletion is ")for( = ; < ; ++printf("\ arr[% % "iarr[ ])getch()return output enter the number of elements in the array arr[ arr[ arr[ arr[ arr[ enter the position from which the number has to be deleted the array after deletion is arr[ arr[ arr[ arr[ write program to delete number from an array that is already sorted in ascending order #include #include int main(int injnumarr[ ]clrscr()printf("\ enter the number of elements in the array ")scanf("% "& )for( = ; < ; ++printf("\ arr[% " )scanf("% "&arr[ ])printf("\ enter the number to be deleted ")scanf("% "&num)