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 plant pigment that absorbs sunlight
what was the name of the first james bond movie released in 1962?
how to curl your hair with a curling iron
What mathematical operation applies (addition, subtraction, multiplication or division) and write your equation in the box below.
Families as a whole tend to resist change and strive to preserve what is normal. True or false?
seaside issues a bond with a stated interest rate of 10%, face value of $50,000, and due in 5 years. interest payments are made semi-annually. the market rate f
what is spata goverments like
how many seconds in a day
Why do some people consider the way the media cover candidates for public office bad for democracy?
Quelle est ta destination favorite de tous les temps? what does this mean?