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 numbers multiply to get 720
a carpenter who is installing cabinets uses thin pieces of material called shims to fill gaps. the carpenter uses four shims to fill a gap that is 1.2 centimete
explain the differences between the Virginia Plan and the New Jersey plan. how were these differences resolved
PLEASE HELP THIS IS SCIENCE AND PLEASE GIVE ME THE RIGHT ANSWERS THANKS!!! What is a factor that limits a technological design? A. a prototype B. a trade-off C.
What issue were the Virginia and New Jersey Plans attempting to resolve?
what is 3 divided by 927
word form for571082346090
The area of a square is 81 inches what is the length of one side
Circle the difference 9 - 4=5
948÷ 10 to the 3rd power