Sail E0 Webinar
Question
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
Options:
A .  Prints the numbers in the array in order
B .  Prints the numbers in the array in the reverse order
C .  Prints 0 to the length of the array
D .  Prints “Empty Array”
Answer: Option A

Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers