Solved

Of the Following, Which Is Not a Logic Error

Question 18

Multiple Choice

Of the following, which is not a logic error?


A) Not placing curly braces around the body of an if that contains two statements.
B) Using == to assign a value to a variable.
C) Failing to initialize counter and total variables before the body of a loop.
D) Using commas instead of the two required semicolons in a for header.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions