. Explain the differences between fork() and exec() in C
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
1. fork(): Creates a new process (child) identical to the parent process.
2. exec(): Replaces the current process image with a new program.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / glibwaresoftsolutions
1. fork(): Creates a new process (child) identical to the parent process.
2. exec(): Replaces the current process image with a new program.
Is This Answer Correct ? | 0 Yes | 0 No |
write a programming in c to find the sum of all elements in an array through function.
in which language c language is written?
increment operateor (++)and decrament(--) #include<stdio.h> #inclide<conio.h> main() { int x=15; while(x!=0) scanf("%d",&x); {
What should be keep precautions while using the recursion method?
main() { int i = -3,j=2,k=0,m; m= ++i || ++j && ++k; printf("%d%d%d",i,j,k,m); }
Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10
What is the use of the function in c?
difference between malloc and calloc
What are the difference between a free-standing and a hosted environment?
sir i got 146 correct question & i have also the advantage of height so will they consider my marks as 146+3=149.can any body tell me how they consider my height marks.
What are the three constants used in c?
What is the use of ?