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

which factor affects the heart rate in mammals
Tyler wrote a paper describing life in England in the eighteenth ________,from_______to_____. A century 1801, 1900 B decade 1701, 1800 C century 1700, 1799 D ce
What is 6,007,200 and 32,005,008 in expanded form?
The middle 5 in 0.555 is 1/10 the value of the 5 to its
Which sentence is appropriate in a letter to a friend but not in a formal report? a. Brisbane is located about ten hours north of Sydney, Australia. b. It's a
Jobs that turn raw materials or resources into usable finished products are part of the __________ sector.
What do you need to do to avoid a floating quotation
What does ¿El Día de San Valentín es el trece de enero? mean?
what is the term for each half of the earth?
what gives you 28 when adding and 18 when multiplying