Question: write a C program to edit and delete a string. the program should run until the user wishes to quit and it should be divided

write a C program to edit and delete a string. the program should run until the user wishes to quit and it should be divided into many functions. list of libc functions is strlen(), getchar(),strncmp(), fgets(), strcpy(), scanf(), strcat(). output of the program should be like this-write a C program to edit and delete a string. the program

Enter the source string: Hello world Source string is: Hello world Enter [Dd] (delete),[Ii (insert) or [Oq] (quit) 1 Enter string to insert: of wonders! Enter position to insert Source string is: Hello world of wonders! Enter [Dd] (delete),[Ii (insert) or [Oq] (quit) Enter string to delete Hello Source string is: world of wonders! Enter [Dd] (delete),[Ii (insert) or [Oq] (quit) 1 Enter string to insert: Dear Enter position to insert: Source string is: 'Dear world of wonders

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!