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

20/8 as a mixed number the simplest form
Is 0.500 greater than 0.50 and 0.5. explain please.
43.586 to the nearest tenth, hundredth, and one.
When Mendel crossed two hybrid plants for stem height (Tt), what results did he always get?
How do I solve a problem like this? m-4=2m
how many tens in five hundred million
What all the numbers that round to 50?
solve this literal equation2x=4a+2b
A decimal number has 2 digits to the right of it's decimal point. If we round it to the nearest tenth, the result is 18.6. What is the maximum possible value of
what is x multipied by -x