Question: solve using C asap pls write a whole inbuilt function on these using c Q. 2 Assume that there are four files namely 'One.txt', 'Two.txt',
Q. 2 Assume that there are four files namely 'One.txt', 'Two.txt', 'Three.txt' and *Four.txt'. The content of each file is given below. Write a C program to concatenate the strings of the "One.txt' and 'Three.txt' and store the result in a new file 'Five.txt'. Similarly concatenate the strings of the 'Four.txt' and 'Two.txt' and store the result in a new file 'Six.txt' (Output in the 'Five.txt' should contain: STAY STAY" and Output in the Six.txt' should contain SAFE HOME") File Name Content One.txt STAY Two.txt HOME Three.txt STAY Four.txt SAFE Q3. Consider a Book is described using Book_ID, Title, Author, Subject. Write a C program to create two structure variables Bookl, Book2 initialize its members. Pass structure as a function argument to print Bookl and Book2 details. Q. 2 Assume that there are four files namely 'One.txt', 'Two.txt, 'Three.txt' and *Four.txt'. The content of each file is given below. Write a C program to concatenate the strings of the 'One.txt' and 'Three.txt' and store the result in a new file 'Five.txt'. Similarly concatenate the strings of the 'Four.txt' and 'Two.txt' and store the result in a new file 'Six.txt' (Output in the 'Five.txt' should contain: "STAY STAY" and Output in the Six.txt' should contain" SAFE HOME") File Name Content One.txt STAY Two.txt HOME Three.txt STAY Four.txt SAFE Q3. Consider a Book is described using Book_ID, Title, Author, Subject. Write a C program to create two structure variables Bookl, Book2 initialize its members. Pass structure as a function argument to print Bookl and Book2 details
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
