Solve this question using C not C++

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
correctanswer
Posts: 43759
Joined: Sat Aug 07, 2021 7:38 am

Solve this question using C not C++

Post by correctanswer »

Solve this question using C not C++
Solve This Question Using C Not C 1
Solve This Question Using C Not C 1 (119.45 KiB) Viewed 58 times
P8.7 Write a program that reads each line in a file, reverses its characters, and writes the resulting line to another file. Suppose the user specifies input.txt and output.txt when prompted for the file names, and input.txt contains the lines Mary had a little lamb Its fleece was white as snow And everywhere that Mary went the lamb was sure to go. After the program is finished, output.txt should contain bmal elttila dah yraM wons sa etihw saw eceelf stI tnew yraM taht erehwyreve dnA .og ot erus saw bmal ehT
Register for solutions, replies, and use board search function. Answer Happy Forum is an archive of questions covering all technical subjects across the Internet.
Post Reply