Search:

Type: Posts; User: Chris.Brown.SPE

Search: Search took 0.09 seconds.

  1. Replies
    9
    Views
    2,439

    Re: Confusing question.

    Yeah, that would give you an error.

    --- Update ---

    The reason you are seeing B (even though i'm pretty sure it would be followed by an error) is because a for loop without proper brackets will...
  2. Replies
    9
    Views
    2,439

    Re: Confusing question.

    Kevin is correct, total syntax error. Evil teacher.

    Anyways, you are correct to think it would be D if there was no syntax error. Each pass prints i and i+1 then adds 1 to i.
    Pass1: 0 1
    Pass2: 1...
Results 1 to 2 of 2