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

How do I express numbers in scientific notation (Ex:0.0056, 952, 0.017)​
is the polynomial a difference of squares and if it is, factor the polynomialy^2 - 9​
the original price of a 2015 honda insight to the dealer is $17,995. but the dealer will pay only $16,495 after rebate. if the dealer pays honda within 15 days,
Where are taste cells located? A. On surface of tongue B. On papillae C. Moat like trenches surrounding papillae D. Medulla
If AB=5x And CD=3x+10 find CD
What effect does atmospheric pressure and gravity have on the human body?
i need the answer to -6+ (-18) = what?​
Second law of thermodynamics states that: a. energy is neither created nor destroyed b. Entropy increases c. Energy conversion results in a loss of usable en
How long will it take to take the basics of learning German?
what is the simplified form of 4(2x - 5y) - 3x​