functions passing parameters
How do you write a function prototype for a function called protoFunc, which is passed two integer parameters and returns nothing using the C language?
Also, how do you write a function prototype for a function called thatFunc, which is passed two float address pointers and returns a float?
We don't make your homework.
You need to understand how function prototypes works.
It's not so difficult, and now if we wan't to make a function called test() that receives two integers as parameters and return an int.
type_of_value_returned [...] name_of_function [...] (parameters [...])
int test(int num1, int num2);