What is wrong with this function?

```void Multiply( int x, int y )
{
int z;
z = x * y;
return z;
}```
A. You can’t have 2 input arguments.
B. Multiply doesn’t know what z is.
C. The return type is void.
D. There is nothing wrong with it.


C

Computer Science & Information Technology

You might also like to view...

Two approaches that use a block cipher to build a PNRG and have gained widespread acceptance are:

A. CTR mode and CFB mode B. CTR mode and OFB mode C. CBC mode and CFB mode D. OFB mode and ECB mode

Computer Science & Information Technology

Answer the following statements true (T) or false (F)

1. A recursive function is a function whose definition contains a call to the function being defined 2. A design technique is to break a problem into smaller tasks, with the prospect that a smaller problem will be easier to solve. If the smaller task is the identical to the original task excepting only that the size is smaller, the problem may be solved using a recursive algorithm, and implemented with a recursive function. 3. It is proper for a recursion to run on without ending. 4. A proper recursive solution requires at least two cases: a recursive function that calls the recursive function with a smaller problem, and a base, or stopping case. 5. In recursion, it is unnecessary to decide whether a stopping case has been reached.

Computer Science & Information Technology

An ActiveX control is which of the following types of programs?

A) a driver B) an add-on C) a plug-in D) a startup

Computer Science & Information Technology

Dynamic allocation of memory is useful when dealing with lists and objects.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology