Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

What is the correct syntax for do while loop?

a) do;
{
statement;
}while (condition);
b) do(condition)
{
statement;
}while;
c) do
{
statement;
}while (condition)
d) do
{
statement;
}while (condition);

Answer: d
Explanation: Output:
do
{
statement;
}while (condition);

Join The Discussion