Question: If a function fun 1 needs the result of function fun 2 , what should you do ? Group of answer choices Pass the result

If a function fun1 needs the result of function fun2, what should you do?
Group of answer choices
Pass the result of fun2 as an argument to fun1
Let fun2 return the result
Move the body of fun2 outside the function so everything in it becomes global

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!