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

Type the correct answer in the box. Round your answer to the thousandth place. The board of directors of a company knows that the probability that carbon emiss
Commercial advertisement is the one that attracts the attention of the public towards the product and generates money. Create a commercial advertisement for a p
Need help doing this question! Thanks . = )
what is ectopic pregnancy​
would some one please solve part A for me I have been try to solve it for a while thank you very much .​
what is the formula for the nth term of the given sequence?3, 5, 7...​
what was the American dream for the pilgrims?
$500+50-250+200-100 make a graph
How should the front of an enclosed trailer be?
Who is the president of the United States