Question: Q. Write a C++ program to read a text file and reverse it wordwise using linked list. You are not allowed to use any datatype
Q. Write a C++ program to read a text file and reverse it wordwise using linked list. You are not allowed to use any datatype or class for a string(i.e char[]array,string class, char* etc). Output should be sent to output.txt file. program should display no of lines in the file and number of bytes used by the program as well.
for example if the text says "I am going to school"
the program should create output as
school to going am I .
Note: can't use arrays or linked list templete in STL library.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
