What is wrong with this function?

```int Modulus( int x, int y )
{
int z;
z = x % y;
}```
A. Modulus is a keyword in C++, the function can’t be named that.
B. There is no returned value.
C. There is nothing wrong with it.
D. The function doesn’t use the passed variables.


B

Computer Science & Information Technology

You might also like to view...

___________ is appropriate for a large to enterprise website.

a. Virtual Hosting b. Free Web Hosting c. Dedicated Hosting d. none of the above

Computer Science & Information Technology

Most style guides recommend ________ between sentences when typing a document in Word 2010

A) two spaces B) one spaces C) three spaces D) a varying amount of spaces dependent on the type of document

Computer Science & Information Technology

Passwords should be stored in the shadow file because the passwd file can be opened by any account

Indicate whether the statement is true or false.

Computer Science & Information Technology

Which of the following is true about classes and structs?

A. By default, all members of a struct are public and all members of a class are private. B. A struct variable is passed by value only, and a class variable is passed by reference only. C. An assignment operator is allowed on class variables, but not on struct variables. D. You cannot use the member access specifier private in a struct.

Computer Science & Information Technology