132k views
5 votes
Code a call to a function named abcfunc, passing intpoint.

a) abcfunc (intpoint);

b) abcfunc (&intpoint);

c) abcfunc (int & intpoint);

d) abcfunc (*intpoint);

2 Answers

2 votes

Answer:

a

Step-by-step explanation:

User MrYoshiji
by
6.5k points
0 votes

Answer:

a) abcfunc (intpoint);

Step-by-step explanation:

When calling a function we don't need to provide any symbols,we only have to provide the name of the variable.If the function accepts pointer variable , arrays or anything we just have to write the name of the variable.

So here we have to write abcfunc(intpoint);

So the option matching is potion a.

User Nik Kashi
by
5.4k points