program for TO CREATE A CHILD PROCESS AND ALLOW THE PARENT DISPLAY “HELLO” AND THE CHILD TO DISPLAY “WELCOME” ON THE SCREEN


#include<stdio.h>
void parent();
void child();
void main()
{
clrscr();
parent();
}
void parent()
{
printf("\n       HELLO  \n");
child();
}
void child()
{
printf("\n\n\n        WELCOME         ");
}

No comments:

Post a Comment