Question: In C A function rectarea has already been defined with this prototype: int rectarea(int width); It collects an integer height from the user and returns
In C
A function rectarea has already been defined with this prototype:
int rectarea(int width);
It collects an integer height from the user and returns the area of the resulting rectangle;
Write code that will call rectarea twice with values 5 and 10, and print the results obtained.
Warning: in a composed function like "f(a(),b());", you don't know whether a() will be called first or b()!.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
