...

/

Test Your Knowledge 5

Test Your Knowledge 5

Let's take a small quiz!

We'll cover the following...

Quiz on Loops

This Quiz will take maximum 10 minutes.

1.

Which of the following syntax is correct for while loop?

A.
while (condition) 
{
  ## statements
}
B.
do (condition) 
{
  ## statements
} while()
C.
while (condition) else
{
  ## statements
}
D.

None of the above


1 / 10