First, you should #include <sys/types.h> and <sys/wait.h> for wait(), and then change status from an int* to an int. If you're using gcc, always build with the -Wall option, which will help catch...