Which of the following will cause a syntax error?

A. for (index = 0; index < 6000000;) {
     x = 123.456789 / 987.654321;
}
B. numberArray = new Array(SIZE);
C. for (index = 0; index < SIZE; index++) {
   numberArray[index] = index + 1;
}
D. for (index = 0; index < SIZE; index++) {
   bookTitles[index] = prompt
("Enter title for book #" + (index + 1) +
":",ES);
}

Answer: A

Computer Science & Information Technology

You might also like to view...

Television sets that came before flat-screen models were analog devices

Indicate whether the statement is true or false

Computer Science & Information Technology

Which of the following would Jeff, a technician, MOST likely use to remotely verify port configuration of a switch?

A. traceroute command B. SNMP monitor C. nbtstat command D. dig command

Computer Science & Information Technology