Question: PROBLEM STATEMENT 2 Write a C program which takes a statement as an input from user, reverses every odd positioned word in the statement, and
PROBLEM STATEMENT
Write a C program which takes a statement as an input from user, reverses every odd positioned word in the statement, and prints the output.
For example,
if the input is "Only dead fish go with the flow"
Then the output must be "ylnO dead hsif go htiw the wolf"
Use of most appropriate data structures is warranted.
Program output must contain student id name and time of execution Please upload screen shot of output and code.
Note: Only use C programming
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
