Question: a) Which line of code is a function prototype / declaration. b) Which line of code is a function call c) Which line of code

a) Which line of code is a function prototype / declaration.

b) Which line of code is a function call

c) Which line of code is a function definition.

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

#include

void process1(int, int);

int process2(int, int *);

int main()

{

int x=3, y=5, z;

process1(x, y);

printf(" %d", x);

z= process2(y, &x);

printf(" %d, %d, %d", z, x, y);

}

void process1(int m, int n)

{

m = m + n;

printf(" %d", m);

return;

}

int process2(int p, int *q)

{

*q = *q + 3;

p = p + 5;

printf(" %d %d", *q, p);

return *q + p;

}

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