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

Explain what is the difference between the expression '++a' and 'a++'?

0 Answers  


What are the advantages of c language?

0 Answers  


What are qualifiers in c?

0 Answers  


Describe static function with its usage?

0 Answers  


What are the uses of null pointers?

0 Answers  


Explain what is meant by high-order and low-order bytes?

0 Answers  


how can be easily placed in TCS.

0 Answers   TCS,


void main() { int a=1; printf("%d %d %d",a,++a,a++); } the output is supposed to be 1 2 2....but it is 3 3 1 this is due to calling conventions of C. if anyone can explain me how it happens?

7 Answers  


Can a binary search tree be used as an index? If yes, how? Explain

0 Answers   TCS,


What's the difference between DELETE TABLE and TRUNCATE TABLE commands?

2 Answers   CTC,


all c language question

0 Answers   Wipro,


How to print "Hi World" without using semi colon?

6 Answers   Infosys,


Categories