What is wrong with this function?

```void Divide( int x, int y )
{
int remainder, quotient;
quotient = x/y;
remainder = x%y;
return (quotient, remainder);
}```
A. You can’t have a comma in the return statement.
B. The return type is void.
C. You can’t delare new variables in this function.
D. Both A & B.


D

Computer Science & Information Technology

You might also like to view...

A(n) ____ is a named unit of storage.

A. index B. application C. operator D. file

Computer Science & Information Technology

In the ____________________ layout, objects are arranged in rows and columns.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Using nested If…Then…Else statements is a much more convenient way of coding a multiple-alternative selection structure than using the Case statement.

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

Computer Science & Information Technology

Assembly language uses 1s and 0s, or binary code, which can run directly on the processor.?

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

Computer Science & Information Technology