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 the distance between (7, -7) and (2,5) on the coordinate plane?
A. 10% B. 21% C.30% D.34% E.49%
Find the area of a rectangle with base of 2 yd and a height of 5 ft.
Finding that smoking a second cigarette increased heart rate like the first cigarette did is an example of which pharmacological effect
5x + 3x = 83 help me please!
Help me please ASAP !!!!!!!
what statement is true about the expression 12 - 7 + 3​
A snowmobile priced at $2,800 is on sale for 20% off. What is the SALES price of this snowmobile?
The thesaurus is a reference book containing: O A. literary analysis. B. word origins. O C. synonyms and antonyms. D. definitions.​
What is the difference between stalactites and stalagmites?.