Write a program which asks the user to enter a string (char-array) str and an integer i.It is supposed to modify the char-array str by deleting its i’th character, where i = 0corresponds to the first character, i = 1 corresponds to the second character, and so on....At the end your program is supposed to print the modified string.For example, on inputPlease enter a string:eece230Please enter i:2your program is supposed to store “eece230” in str, modify the content of str to “eee230”,and finally printeee230Note that it is not enough to set the deleted character to a blank character; the lengthof modified string is smaller than that of the original string by one
Get Free Quote!
358 Experts Online