Question

Which of the following is a common technique used in debugging to systematically narrow down the location of a bug?

A Writing more code.
B Randomly changing variables.
C Using print statements or a debugger to inspect variable values at different points.
D Ignoring the error and hoping it resolves itself.
E Reinstalling the operating system.
Practice Next

Hey! Ask a query