Write a void function definition for a function called zeroBoth that has two call-by-reference parameters, both of which are variables of type int, and that sets the values of both variables to 0.
What will be an ideal response?
```
void zeroBoth(int & n1, int& n1)
{
n1 =0;
n2=0;
}
```
Computer Science & Information Technology
You might also like to view...
Most computer memory is __________.
a. RAM b. ROM c. flash d. core
Computer Science & Information Technology
Including what, distorts the effectiveness of charting data points?
A) Too many series B) Aggregates C) Too many data points D) Too much variance in the values of the data
Computer Science & Information Technology
The unless modifier is the logical opposite of the if modifier.
Answer the following statement true (T) or false (F)
Computer Science & Information Technology
In a database, a ________ is the collection of related data that displays in a row
A) group B) record C) label D) field
Computer Science & Information Technology