[algogeeks] linux program in c

2011-10-02 Thread rahul sharma
main() { int pid; pid=fork(); if(pid==0) { print child; print(...,getpid()); } else { print print; print(...,getpid()); } -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks@googlegroups.com. To

Re: [algogeeks] linux program in c

2011-10-02 Thread Hatta
what is 'print'? there's no such thing in C. On Sun, Oct 2, 2011 at 4:49 AM, rahul sharma rahul23111...@gmail.com wrote: main() { int pid; pid=fork(); if(pid==0) { print child; print(...,getpid()); } else { print print; print(...,getpid()); } -- You received this message because

Re: [algogeeks] linux program in c

2011-10-02 Thread rahul sharma
just given a basic psudocode On Sun, Oct 2, 2011 at 11:11 PM, Hatta tmd...@gmail.com wrote: what is 'print'? there's no such thing in C. On Sun, Oct 2, 2011 at 4:49 AM, rahul sharma rahul23111...@gmail.com wrote: main() { int pid; pid=fork(); if(pid==0) { print child;