Solved

If a Programmer Confuses the Method Required for Checking the Length

Question 91

Multiple Choice

If a programmer confuses the method required for checking the length of a string and uses size() instead of length() , what will happen?


A) The program will crash.
B) The program will not compile.
C) The program will run but will produce an uncertain result.
D) The compiler will automatically correct the error.

Correct Answer:

verifed

Verified

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

Related Questions