ehuntsman541 ehuntsman541
  • 02-03-2018
  • Computers and Technology
contestada

Write a function addone that adds 1 to its integer reference parameter. the function returns nothing. submit

Respuesta :

tonb
tonb tonb
  • 02-03-2018
void addone(int &n) { n++; }

This would do the trick in C++, assuming that's what you're looking for.
Answer Link

Otras preguntas

What should you do once the officer has indicated that the stop is complete?
To register your vehicle, you'll need _____.
The new people who moved into Israel did not adopt their culture. O True O False​
which statement best identifies the central idea of this oral history
Please explain easily or make sure you have the answer right
I'll chose you as brainliest if it is correct (also if your not going to answer it don't answer it)
Timbre describes: the type of wood used on string instruments the time and breath required to play an instrument the piece of wood used on many woodwind instrum
State whether each pair of triangles is similar by AA-SSS-or SAS-. If none of these apply. write N.
Which of the following statement is TRUE? A. THE ONLY FACTORS OF 9 ARE 1 AND 9 B. THE ONLY FACTORS OF 10 ARE 1,2 AND 10 C.THE ONLY FACTORS OF 11 ARE 1 AND 11 D
Help me with this math problem please!!1