112k views
3 votes
Code a call to function aNonclassFunction passing co.

a)aNonclassFunction (co);

b)aNonclassFunction (* co);

c)aNonclassFunction (aGoodClass.co);

d)aNonclassFunction (aGoodClass);

1 Answer

2 votes

Answer:

a)aNonclassFunction (co);

Step-by-step explanation:

When we call a function we just have to write the name of the variable that we are passing to the function.We don't have to write any operator.

So the function call is like this:-

function_name(var_name);

In our case it is

aNonclassFunction(co);

Hence the answer is option a.

User Harvey Dent
by
6.1k points