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

A sound signal traveling underwater has a frequency of 230 hertz. the speed of sound under water is 1.45 × 103 meters/second. what is the wavelength of the soun
who do yall want to be president? a.trump b.hilary c.no one
the axis of symmetry for the graph of the function f(x) =3/4 3x2 bx 4 is x =3/2 . what is the value of b?
Help need plz thx ASAP
A noble lady was required to take on her husband’s responsibilities when
Help me thiz is very important plz thx
The ancient geographic setting of a region is known as its
Help me ASAP it's important
at 450℃ will the lead be a solid ,liquid or gas
Throughout act i of the tragedy of macbeth, macbeth s plans and actions seem to be motivated most of all by