What is wrong with this code?

``` void PrinttoScreen( int dollars, int cents)
{
cout << “\n The dollars are << dollars;
cout << “\n The cents are << cents;
return OK
}```
A. The return type is not void.
B. You can’t return an OK.
C. Both A & B
D. Nothing is wrong with it.


C

Computer Science & Information Technology

You might also like to view...

An alias must be enclosed inside number signs

Indicate whether the statement is true or false

Computer Science & Information Technology

Which of the following protocols are used to establish a point-to-point serial link?

A) H.323 B) HDLC C) PPP D) PPTP E) TCP F) UDP G) IP

Computer Science & Information Technology

Using an encrypted tunnel between a computer (or remote network) and a private network is an example of using this type of network.

A. peer-to-peer B. client/server C. dial-up D. virtual private network (VPN)

Computer Science & Information Technology

PowerPoint 2016 does not allow you to wrap text around a picture or other graphic.

Computer Science & Information Technology