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...

You have a subnet mask of 255.255.255.248. What is the prefix notation?

A) /29 B) /28 C) /27 D) /26

Computer Science & Information Technology

A link that points to a Web page on a different Web server is referred to as a(n) ____________________ link.

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

Computer Science & Information Technology