Programming
October 18, 2023Programming
October 18, 2023Programming
Question 431
|
Of the following, which is NOT a logical error?
Using the ‘=’, instead of ‘==’ to determine if two values are equal
|
|
Divide by zero
|
|
Failing to initialize counter and total variables before the body of loop.
|
|
Using commas instead of two required semicolon in a for loop header
|
Correct Answer: A
The answer should be “Divide by zero”, which is not a logical error but a runtime error.