Question: Exercise 7 : ( 1 0 pts ) An array of 1 0 characters is named STRING, Write a code segment to replace each occurrence

Exercise 7: (10 pts) An array of 10 characters is named STRING,
Write a code segment to replace each occurrence of the letter 'K' in that array with "C'. That means, if the string is
"BACK UP", it will become "BACC UP". Note that you may specify a character constant or its ASCIl code as an immediate data.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!