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

indicate how resources will be allocated in a market economy​
find the inverse of the radical function y=-5+2/5√x
Please help and I will give brainliest ( no trolling )
Help. MEEEEEEEEEEEEEEEEEE
why do u think the shark might pretend to take no interest until you get in his range?
What are the central focuses of the thoughts of a baby?
Which equation demonstrates the multiplicative identity property? (-3+5i)+0=-3+5i (-3+5i)(1)=-3+5i (-3+5i)(-3+5i)=-16-30i (-3+5i)(3-5i)= 16+30i
13. One kilogram is equal to 1.000 grams How many kilograms equal 2,570 grams? A 257 kilograms 25.7 kilograms 2.57 kilograms 0.257 kilogram Answer quick PLZZ no
Please help me i cannot understand these Questions
solve this simultaneous equation: x+y=4 and xy=4​