Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


#include <stdio.h>
int main() {
int i;
for (i=0;i<3;++i) {
fork();fork();
}
}
How many processes are created when running this program
(including the initial one)?
Explain &#1567;&#1567;&#1567;

Answers were Sorted based on User's Feedback



#include <stdio.h> int main() { int i; for (i=0;i<3;++i) { fork();fork(); } } How ma..

Answer / bikash

3

Is This Answer Correct ?    0 Yes 0 No

#include <stdio.h> int main() { int i; for (i=0;i<3;++i) { fork();fork(); } } How ma..

Answer / aman goyal

127
64+32+16+8+4+2+1

Is This Answer Correct ?    0 Yes 0 No

#include <stdio.h> int main() { int i; for (i=0;i<3;++i) { fork();fork(); } } How ma..

Answer / neelankshi

7

Is This Answer Correct ?    0 Yes 2 No

#include <stdio.h> int main() { int i; for (i=0;i<3;++i) { fork();fork(); } } How ma..

Answer / govind verma

5 process will create..........

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More C Interview Questions

what is the difference between NULL & NUL keywords in C?

3 Answers  


who is the editor of 'pokemon'?

1 Answers  


What is a good way to implement complex numbers in c?

0 Answers  


What is the use of #include in c?

0 Answers  


What is a segmentation fault?

2 Answers  


1. What will be the output of the following programs. a) #include <stdio.h> Main() { Int x=4; While(x==1) { X=x-1; Printf(ā€œ%dā€,x); --x; } }

7 Answers   CSC,


What is abstract data structure in c?

0 Answers  


In C programming, what command or code can be used to determine if a number of odd or even?

0 Answers  


What is the function of volatile in c language?

0 Answers  


How to compare array with pointer in c?

0 Answers  


6. Which of the Following is not defined in string.h? A)strspn() B)strerror() C)memchr() D)strod()

2 Answers   Accenture,


2)#include<iostream.h> main() { printf("Hello World"); } the program prints Hello World without changing main() the o/p should be intialisation Hello World Desruct the changes should be a)iostream operator<<(iostream os, char*s) os<<'intialisation'<<(Hello World)<<Destruct b) c) d)none of the above

4 Answers   Siemens,


Categories