Question: Explain line 2 Explain line 5: Explain line 9: Explain line 12 : What is this program exhibiting: Call by Value or Call by Reference

Explain line 2

Explain line 5:

Explain line 9:

Explain line 12 :

What is this program exhibiting: "Call by Value" or "Call by Reference"

 Explain line 2 Explain line 5: Explain line 9: Explain line

minn #include float cal_area(float r); int main(int argc, char** argv) { float area, r; 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 printf(" Enter the radius of circle:"); scanf("%f", &r); area cal_area(r); printf(" Area of circle with radius %f = %f", r, area); } float cal_area(float r) float result; result = 3.14 * r *r; return result; }

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!