This program is written in C. Program forks a child, and the child forks a grandchild. The grandchild writes: "My process id is X, my parent's id is Y, and my grandparent's id is Z. X, Y, and Z are the Unix process id's. No other process writes anything.