Puzzle 8-12-08 (spoilers)

lurker lurker1024 at mailinator.com
Tue Aug 12 15:08:22 PDT 2008


Wyverex Wrote:

> 
> 1)First is simple..
> 
> What's the  "condition" so that the following code
> snippet  prints both HelloWorld !
> 
> if  "condition"
> printf ("Hello");
> else
> printf("World");

Might work, don't know if the order is correct:

if (!fork())
    printf ("Hello");
else
    printf("World");



More information about the Digitalmars-d-learn mailing list