Question

What is the primary benefit of using comments in code?

A To make the code run faster.
B To explain complex logic, assumptions, or design decisions, improving code readability and maintainability for humans.
C To prevent compilation errors.
D To automatically generate unit tests.
E To hide sensitive information.
Practice Next

Hey! Ask a query