What is wrong with this code?

``` int ShowMeTheMoney()
{
int cents, dollars;
cout << “\n Enter dollars and cents”;
cin >> dollars , cents;
return (dollars,cents);
}```
A. You can’t have a comma in the cin statement.
B. You can’t have a comma in the return statement.
C. Both A & B.
D. There is nothing wrong with it.


C

Computer Science & Information Technology

You might also like to view...

The __________ function accepts two strings as arguments and returns a new string that is created by appending the second string to the end of the first string.

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

Computer Science & Information Technology

What are the advantages and disadvantages of SQL?

What will be an ideal response?

Computer Science & Information Technology

The Boolean variable ____ is used to break out of a loop if a particular number is in an array.

A. break B. found C. stop D. true

Computer Science & Information Technology

____ is a version of NetStumbler that runs on handheld devices.

A. KisMAC B. MiniStumbler C. AiroPeek D. Kismet

Computer Science & Information Technology