Question: Operating Systems Q.2] Answer the following questions based on the following prograrm #include #include #include #include int main() char x[]=/home/uname/test: chdir(x): char y[100] getcwd(y,100): //copies

Operating Systems

Operating Systems Q.2] Answer the following questions based on the following prograrm

#include #include #include #include int main() char x[]="/home/uname/test": chdir(x): char y[100] getcwd(y,100):

Q.2] Answer the following questions based on the following prograrm #include #include #include #include int main() char x[]="/home/uname/test": chdir(x): char y[100] getcwd(y,100): //copies current working directory path name to buffer y printf("some message....-%s ".y); //statement A pid t pid; pid = fork(); if (pid

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!