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

Please hurry DAILY NEWS Congress Passes Title IX Education Amendments Which of the following would make the most appropriate subheading for this newspaper arti
In the fourth stage of the B2B buying process, Blank______ , vendor negotiation, and selection all occur.
Read the following sentence: The long banquet table was laid with festive garlands and steaming platters of food. Which words best describe the mood or feeling
Is this right ? Pls helllppo me
30) A food web models how the matter eaten by organisms moves through an ecosystem. The arrows in a food web represent how matter moves between organisms in an
Solve 4|3x-1| + 3 > 11.
The Texas New Mexico border approximate a north south line of longitude the terminator line seen is roughly to the north south border
Define office as a planning sector​
I will give BRAINLIESTHalf of the road the boy walked at a speed of 6 m / min, the other half - at a speed of 4 m / min. Calculate the average walking speed of
please help me. I struggle