How can I create n processes where each is a parent/child?

后端 未结 0 725
生来不讨喜
生来不讨喜 2021-02-05 10:26

I want to create n child processes, where each process has a child. Each parent process should print n and it\'s child should print n-1 until the last child\'s n value is 1.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题