Question: There are various ways to debug a program, perhaps most elementary is using a printf() statement to show important pieces of data regarding the program execution point, variable value, and loop and branch operation.
The solution also answers the following questions.
How can you use the printf() statement?
Where will you place them?
How is it useful to use #define in aid of printf() debugging?