Question: Consider the implementation of the C function named pcdif below: float pcdif ( float actual, float base ) { return ( actual - base )

Consider the implementation of the C function named pcdif below:
float pcdif( float actual, float base){ return (actual - base)/ base *100.0; }
Which of the following can be used as the function prototype for pcdif?
a. float pcdif( actual, base );
b. float pcdif(,);
C. float pcdif( float, float );
d. None of the above
Consider the implementation of the C function

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 Programming Questions!