What are the pros and cons of using parameters instead of a global variable in a C programme?

icon
Related questions
Question

What are the pros and cons of using parameters instead of a global variable in a C programme?

 

Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
ADT and Class
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, data-structures-and-algorithms and related others by exploring similar questions and additional content below.