201 views
1 votes
1 votes
main(){

int i,n;

for(i=1;i<=n;++i)

{

print("*");

fork();

}

}

the output for the following program?

Please log in or register to answer this question.

Related questions

0 votes
0 votes
1 answer
1
Nam14 asked Apr 5, 2023
532 views
Please read below passage from 10th edition Operating System Concepts, pg. 202:5.1.3 Preemptive and Nonpreemptive SchedulingCPU-scheduling decisions may take place under ...
0 votes
0 votes
0 answers
2
Iamniks4 asked Jan 16, 2019
231 views
Caption
0 votes
0 votes
0 answers
4
Iamniks4 asked Jan 12, 2019
139 views
The following is the code with two threads, producer and consumer, that can run in parallel. Further, S and Q are binary semaphores equipped with the standard P and V ope...