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. The return type is void.

Computer Science & Information Technology

You might also like to view...

_____________ is an extensive encoding scheme that is compatible with ASCII and can also represent the characters of many of the world’s languages.

a. Baudot code b. EBCDIC c. ANSEL d. Unicode

Computer Science & Information Technology

How many packets are exchanged in the data transfer? What are the sizes of the TCP segments?


Use the data captured with ethereal to answer the questions in Step 3. Support your answers by including data from the saved ethereal data captures.

Computer Science & Information Technology

________ are actions that Access believes will improve your database performance but may have consequences that should be considered first

Fill in the blank(s) with correct word

Computer Science & Information Technology

MysteryClass -first: int-second: double;+MysteryClass()+MysteryClass(int)+MysteryClass(double);+MysteryClass(int, double)+setData(int, double): void+getFirst(): int+getSecond(): double+doubleFirst(): int+squareSecond(): double+print(): void+equals(MysteryClass): boolean+makeCopy(MysteryClass): void+getCopy():MysteryClassAccording to the UML class diagram in the accompanying figure, which of the following is a data member?

A. MysteryClass B. print() C. second D. getFirst

Computer Science & Information Technology