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 is £42 increased by 10%
There are 30 students in a class that took a test. The average grade of 10 students was 80. The other 20 students average was 89. What is the overall average fo
2x-y=-63x-4y=-4Solve using elimination and then substitution
Which two things are being compared in the poem?harbors and cities  fog and cats  cat feet and harborsfog and moving
Estimate 46/6,725, then find the quotient.
What is the definition of popular press source?
What features of colonial politics in 18th century America contributed to the development of popular democracy, and what kept political life from being more tru
list the six enternal parts or peripherals of a computer system and identify which are output and which are input devices?
What is 258/300 written as a decimal and a percent???
what is £42 increased by 10%