Consider the following code snippet
while (a != 0)
{
if
Home | Discussion Forum
{
if
Consider the following code snippet
while (a != 0)
{
if (a == 1)
continue;
else
a++;
}
What will be the role of the continue keyword in the above code snippet?
Answer : C
View More Related Question
1) Consider the following code snippet
while (a != 0)
{
if (a == 1)
continue;
else
a++;
}
What will be the role of the continue keyword in the above code snippet?
View Answer
2) What are the three important manipulations done in a for loop on a loop variable?
View Answer
3) Consider the following code snippet
function printArray(a)
{
var len = a.length, i = 0;
if (len == 0)
console.log("Empty Array");
else
{
do
{
console.log(a[i]);
}
while (++i < len);
}
}
What does the above code result?
View Answer
4) Among the keywords below, which one is not a statement?
5) One of the special feature of an interpreter in reference with the for loop is that
View Answer