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 place the dot for me(20 points will give brainliest!!!)
I see that Yan Zhihua is an independent scholar and a history teacher in middle school. Shouldn’t we respect history? Is the tragic history you describe in your
How many grams of carbon are contained in one mole of[tex]C_{3}H_{8}[/tex] ?
When the equation a – bx = cx d is solved for x, the result is x = startfraction a minus d over b plus c endfraction.. use the general solution to solve 5 – 6x
Summer driving side effects
impact of science in the world ​
Which series of transformations will not map figure Q onto itself? O(x+2, y-2), reflection over y = x - 1 O(x-2, y + 2), reflection over y = x + 3 O(x+0y-4), r
write common ICT tools​
If bank borrows money from another bank rather than from the fed, the interest rate charged by the second bank is called the
help please i dont know this