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...
Create a new table, SP03SECT, for Spring 2003 semester course sections using a subquery. Include CourseId, Section, FacultyId and RoomId columns only.
Use the Indo–US College database tables to design the following subqueries. (Use the spooling method to capture all queries and results in the CHAP8SP2.LST file)
Computer Science & Information Technology
What is the range for the alpha property of a movie clip?
What will be an ideal response?
Computer Science & Information Technology
Using the ________ button is an efficient way to locate a record in the table
A) Locate B) Find Record C) Find D) Get Record
Computer Science & Information Technology
Explain why tools are used in object modeling.
What will be an ideal response?
Computer Science & Information Technology