#include<stdio.h>
int main()
{ printf("hello");
fork();
printf("world");
}
what will be the o/p....
on my system...its showing hello world hello world...
but i think it could be hello world two times in any order.....
please tell me what is the exact o/p...
i have a little confusion also that whether child process starts
executing from start of the main() or whether it starts from the line
following the fork() command.....
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/algogeeks?hl=en.