441 views

1 Answer

Related questions

0 votes
0 votes
3 answers
1
jayadev asked Feb 1, 2022
994 views
Consider the following program segment of C-programming language:#include<stdio.h int main() { if (fork() || fork()) fork(); printf("GATE\n"); return 0; } Number of times...
1 votes
1 votes
1 answer
2
jayadev asked Dec 6, 2021
386 views
Does kernel level threads have separate PCB(process control block)?
9 votes
9 votes
2 answers
3
junaid ahmad asked Jul 13, 2017
864 views
if(fork() && fork()) {fork();}if(fork()||fork()) {fork();fork();}printf("XYZ");How many time XYZ gets printed ?
11 votes
11 votes
4 answers
4
junaid ahmad asked Jul 13, 2017
1,035 views
int main() { if(fork() == 0) printf("GATE2018"); if(fork() == 0) printf("GATE2018"); }How many times GATE2018 printed?