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

The tensions leading up to the Civil War were present at the beginning of the nineteenth century. (Points : 2) True False
Drake received 80 points on a project for school. He can make changes and receive one-tenth of the missing points back. He can do this 10 times. Create the form
which term describes an enzyme
how do images or word pictures help you experience a scene in the excerpt "The Day of Destiny"?
After Hitler came to power in 1933, he blamed Germany's defeat in World War I on A. Communists and American imperialists. B. Communists and Socialists. C. Jews
round 9,254 to the nearest hundred
the building blocks of proteins are known as
Who is W. E. B. Du Bois?
the ratio of isabellas money to shanes money is 3:11. If isabella has $33, how much money do Shane and Isabella have together?
What do you think is the most fascinating aspect of the internet?