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

Once a truckload of wheat has been​ weighed, title passes to the buyer. A. True B. False
Questions 1-8: Complete each statement about parallelogram
paano nagsimula ang imperyong turk?
An angle measures  25° . What is the measure of its supplement? (b) An angle measures  30° . What is the measure of its complement?​
How is the main hydraulic system reservoir pressurized?
"sex limited genes are:"
Na is a cation, anion, or none? 1) cation 2) anion 3) none
What’s the next number
When queen Elizabeth had died?
the bird flew-the sky preposition