Question: Write a program that reads two strings from the keyboard using fgets. Using the string library, concatenate the two strings and print out the result.

  1. Write a program that reads two strings from the keyboard using fgets. Using the string library, concatenate the two strings and print out the result. Given the inputted string, reverse the string than use puts to print the original string and the reverse. Make sure you properly declare your string arrays size. Program in C.

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!