MUHAMMAD AFIQ A.

asked • 12/16/16

This is a c programming question on pointer

Write a function that will take the length, width and height of a box, and calculate the volume and area of the box. Use call by reference so that your main function can have access to the variables which store the area and volume.
 
i can do the normal programming but what is the difference of it between me doing it in fucntion call by value and function call by reference 

3 Answers By Expert Tutors

By:

Dave D. answered • 12/16/16

Tutor
5 (2)

Mechanical Engineer with a Math minor

Patrick B. answered • 07/28/20

Tutor
4.7 (31)

Math and computer tutor/teacher

Mahanth K. answered • 08/12/19

Tutor
New to Wyzant

Teaching is my passion

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.