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

With a $230,000 annual profit achieved from a $2,000,000 investment, the return on investment (ROI%) for a business would be
1. The report tomorrow (finish).​
HELP. Really really need help. ASAP please. Please help me with this. I will give out a lot of extra points and a Brainly to whoever does it good. Thanks.
What work must be done to place a satelite of mass 30kg in orbit at a height of 50km above the earth with a velocity of 800m sec?
The value of 3 in 6,300 is _____ times the value of 3 in 530.
Salmon often jump waterfalls to reach their breeding grounds. Starting downstream, 3.02 m away from a waterfall 0.258 m in height, at what minimum speed must a
at the market opening, a customer purchases 200 shares of an S&P 500 inverse etf (-1x) at $50 per share. At the end of that day, the s&P 500 index decli
Yochanan walked from home to the bus stop at an average speed of 5 55 km/h km/hstart text, k, m, slash, h, end text. He immediately got on his school bus and
How the federal government supported nationalism in their intersections with the states
How many solutions does the system of linear equations represented in the graph have? Coordinate plane with one line that passes through the points 0 comma 2 an