I have a c program with say n number of for loops. How many processes and child processes will be running for this program and how?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The C language itself does not support multi-processed program. You should depend on API’s provided by your OS to implement a multi-processed version. You can use fork function under Linux and CreateProcess in Windows environment and corresponding platform dependent API’s can give you details on how to use these functions. Good luck!