Register|Login

Have a question? Click here to ask the community.

Quiz 17 – For Loop

| In: PHP Quizzes | 22,694 views



5 Responses to Quiz 17 – For Loop

Avatar

ers3

April 28th, 2015 at 12:42 pm

Please explain the code for 3

Avatar

Robert Smith

April 28th, 2015 at 1:02 pm

What exactly are you having problems understanding with question number 3?

Avatar

ers3

April 29th, 2015 at 11:01 am

Thank you Robert. The question says that the for condition is not true; as the second element states 20 is less than 10. So I think the output be Counter is 20, is that correct?

Avatar

yancruz01

July 18th, 2015 at 7:30 pm

Fun quizzes, man.

Avatar

rafay

April 13th, 2017 at 6:18 am

ya you are correct ers3 .. for loop wil not execute even single time so immidiate statement to the loop will execute .. and value of counter will be 20

Comment Form

You must be logged in to post a comment.

Users Online

Users Online: 2 Users

Most Users Ever Online: 137

Quiz Scores

Advertisments