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

This is due tomorrow help plz I'm begging it's #7
The South's assets as the Civil War broke out included all of the following EXCEPT? Fighting a defensive war. Good transportation networks within the South. Tal
Cumulus and cumulonimbus clouds are most likely to be formed by what
16 need help praise the lord if u answer
write a sentence with the bluefish start running in the late summer
What lead to the unification of east and west jersey?
Which education level has the highest return on investment
Help me on that question someone please?
What will happen if water at 50 degree is cooled to -10 degree?
Read the passage. To operate the coffeepot, first plug the cord into the outlet. After that, fill the pot with water to the red line. Next, insert a paper fil