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

57% of 109 is what number? plz help
What is Germany in German?
Which text exemplifies the anti-Victorianism prevalent in the early twentieth century? a) Eminent Victorians b) Jungle Books c) Philistine Victorians d) The
if y is the principal square of root 5,what must be true
Can you make this into an algebraic expresion
What is 9-4(2p-1)=45?
What is Germany in German?
what is 89 divided by 6 in long divison
Tatum weighs 47.39 kilograms.What is is her mass rounded to the nearest whole number?A.50 KilogramsB.48 KilogramsC.47.4 KilogramsD.47 Kilograms
Why did the settlers go to new mexico during manifest destiny?