Question: *******THIS SHOULD BE DONE IN C CODE, NOT C++******* 3 Longest Common Suffix (20 Points) Name the project: suffix Write a function that finds and

 *******THIS SHOULD BE DONE IN C CODE, NOT C++******* 3 Longest

*******THIS SHOULD BE DONE IN C CODE, NOT C++*******

3 Longest Common Suffix (20 Points) Name the project: suffix Write a function that finds and returns (through an output parameter) the longest common suffix of two words. The longest common suffix is the substring of two strings that have the most identical characters starting from the end. For example, the longest common suffix of "procrastination" and "destination" is "stination" In main, the user should be asked to enter two different strings. Assume both strings can have up to 40 characters. Create a function called LCS that takes three parameters: the two strings entered by the user, and an output parameter that will have the least common suffix. You will need to figure out exactly how to obtain the least common suffix

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!