Question: Write a C program that prompts a user for a lename and then prints out only the sufx of the lename. Assume the lename will

Write a C program that prompts a user for a lename and then prints out only the sufx of the lename. Assume the lename will take the form of lename.sufx, where both the lename and the sufx will contain one or more characters each, and the period will always be present to demarcate the boundary.

Sample Input: Enter the Filename: Asgn4.ppt

Sample Output: Suffix is: ppt

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!