fork() Programming Practice Question UGC NET - GATE PYQs

preview_player
Показать описание
How many Happy will be printed
watch this video first
int main()
{
fork();
priintf("Happy\n");
fork();
priintf("Happy\n");
fork();
priintf("Happy\n");

}
int main()
{
fork();
fork();
fork();
priintf("Happy\n");
}

Q2.

int main (){
if (fork() && fork())
fork();
printf("Hello");
return 0;
}
Рекомендации по теме
Комментарии
Автор

Best explanation on fork ()call..gone through many videos. but finally understood yours..

shallubajaj
Автор

very very clear about fork() programming mam.
as usual your explain is super.
than you mam.
you are always amazing to clear the concept.
keep going mam....👌👍

sadhanag
Автор

i really was looking was simple and clear explanation yours really cleared my doubt

vikashKumar-lvyb
Автор

vry clear explanation mam. I would like to hve more program related videos mam

sathyabuvi
Автор

Link is not there in description box sister

challavenkatasivatejareddy