86.4k views
4 votes
Write a statement that declares a prototype for a function named add which has two int parameters and returns an int.

1 Answer

4 votes

Answer:

int add(int a, int b);

Explanation:

The prototype has a return type of int.

We call it add and give it two parameters a and b relatively.

User Jeremy Warne
by
8.9k points