Examine the following code fragment Which line contains the

Examine the following code fragment: Which line contains the actual arguments of the function foo? Line 5 Line 3 Line 4 Line 6 Line 1 Line 2

Solution

Ans)Line 6

Reason:

we declared and initialized \'a\' and \'b\' variables with values and we are calling the foo() function by passing them as arguments in line 6.

In line 1 ,We call foo(int x ,int y) as function having parameters

 Examine the following code fragment: Which line contains the actual arguments of the function foo? Line 5 Line 3 Line 4 Line 6 Line 1 Line 2SolutionAns)Line 6

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site