Given the code fragment: How many times is 2 printed?
A.
Thrice
B.
It is not printed because compilation fails
C.
Once
D.
Zero
E.
Twice
Given the code fragment: How many times is 2 printed?
A.
Thrice
B.
It is not printed because compilation fails
C.
Once
D.
Zero
E.
Twice
Why once? I think zero. I tried it and all i see are 3 zero’s printed.
me too.
0 0 0 is printed.
correct is D.
???