#include #include #include using namespace std; int main(){ cout << " A single process " << endl; int i; pid_t pid = fork(); cout << "two processes my pid is " << getpid() << endl; for(i =0; i < 100; ++i) { cout << "\t" << pid << " " << i << endl; } return 0; }