Question: Q 1 . Write a program to create two Threads T 1 and T 2 . Thread T 1 creates a file named Thread.txt while
Q Write a program to create two Threads T and T Thread T
creates a file named Thread.txt while T writes Hello its T into the
Thread.txt
Q Write a program to create a thread T The main process passes two
numbers to T T calculates the sum of these numbers and returns the
sum to the parent process for printing.
Write C program.
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
