include
int main(int argc, char *) {
for(; argc > 1; argc--){
if(0 == fork()){
(void) fork();
}
}
return 0;
}
How many child processes are created for the following invocations. 1) - ./foo 2) - ./foo a 3) -./foo a b 4) - ./foo a b c 5) - ./foo a b c d
Aucun commentaire:
Enregistrer un commentaire