alg 11 delete all instances of 39 g 39 from a list stored within the array a assume 5191887

Alg 11: Delete all instances of 'g' from a list stored within the array a.

Assume the following declarations:

char a[100]; int aSize=32; char ch;

Assume also that the first 32 elements have been initialized to some values and the remaining elements have garbage in them.

In the question below the term list stored within the array a means the elements found from position 0 to position 31. The phrase last element in the list refers to the element found in 'a[31]'. The phrase element at position n, refers to the n-th element of a list, which is stored in 'a[n-1]'.

If you add or delete anything from the array, make sure you adjustaSize approriately.

Alg 11: Delete all instances of 'g' from a list stored within the array a.

use c++

"Get 15% discount on your first 3 orders with us"
Use the following coupon
FIRST15

Order Now