I'm really new to this and I started reading the tutorials and got to a quiz and I don't understand why the answer is what it is. I think this is pretty confusing stuff. I have plenty of experience with html though.
Here is the question:
4. What is the result of the following code?
x=0;
switch(x)
{
case 1: cout<<"One";
case 0: cout<<"Zero";
case 2: cout<<"Hello World";
}
A. One
B. Zero
C. Hello World
D. ZeroHello World