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

Q1. Write a program to create two Threads T1 and T2. Thread T1
creates a file named Thread.txt while T2 writes Hello its T2 into the
Thread.txt
Q2. Write a program to create a thread T1. The main process passes two
numbers to T1. T1 calculates the sum of these numbers and returns the
sum to the parent process for printing.
11
Write C program.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!