Presence of unused variable in a code refers to good programming?
Answers
Answered by
35
Answer -
____________________________________
- The presence of unused values may indicate significant logic errors. To prevent such errors, unused values should be identified and removed from code. This recommendation is a specific case of MSC12-C. Detect and remove code that has no effect or is never executed
- I was cleaning unused variables warnings one day, and I started to ponder, what exactly is the problem about them.In fact, some of them even help in debugging.
____________________________________
→ Hope it will help you ❣️❣️
Answered by
0
Answer:
refer to the attachment
Attachments:
Similar questions