solution for warning
Tried to write a code on factorial of number. I declared a global variable num and tried to pass that a parameter in my function but out has a warning. Is passing global variable as parameter to a function wrong?
New contributor
Dhanush G is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.