Splitter quiz / survey
Steven Schveighoffer
schveiguy at yahoo.com
Mon Apr 27 05:37:07 PDT 2009
On Sun, 26 Apr 2009 22:36:33 -0400, Brad Roberts <braddr at puremagic.com>
wrote:
> Without looking at the docs, code, or compiling and running a test, what
> will
> this do:
>
> foreach(x, splitter(",a,b,", ","))
> writefln("x = %s", a);
>
> I'll make it multiple choice:
>
> choice 1)
> x = a
> x = b
>
> choice 2)
> x =
> x = a
> x = b
>
> choice 3)
> x = a
> x = b
> x =
>
> choice 4)
> x =
> x = a
> x = b
> x =
Normally for standardized tests, I try to make all my pencil bubbles draw
a picture, it makes tests more fun.
But it seems we have no standardized form here, so I actually have to take
the test :(
I choose 4.
-Steve
More information about the Digitalmars-d
mailing list