Write a multi threaded C program which reads numbers from a textfile, then outputs only the even numbers to a new text file. Thetext file to be read in will have a high amount of numbers. Userinput needs to be used to determine how many threads are used. Thetext file needs to be split into equal parts, then each part mustbe processed equally amongst the threads.
Many thanks.
Expert Answer
Answer to Write a multi threaded C program which reads numbers from a text file, then outputs only the even numbers to a new text …