Question: Write a C program to do the following 1 . Create two text files Text 1 and Text 2 with some texts ii . Get
Write a C program to do the following
Create two text files Text and Text with some texts
ii Get the position p and number of characters n to extract the characters from the Text and Text using random processing
iii. If the characters in the extracted are same it has to print The Characters in the positions of both the files are same Else it has to print The Characters in the positions of both the files are not same
Example
Assume that Text file contains the text as abcdefghijk and the Text file contains the text as ABCdefGHIJKLMN
Case : If p and n it has to print The Characters in the positions of both the files are same the characters def are matching
Case if p and n it has to print The Characters in the positions of both the files are not same the characters are not matching, bed not BCd
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
