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 solution set of the inequality 2x – y > 2 consists of all the points ?_the line ? O above; y = 2x - 2 below; y = 2x - 2 above; y = -2x + 2 below; y = -2x
g=() is an set of which numbers​
Most of the food waste that occurs in a restaurant happens
State one alternative to burning fonsil fuelk in order to produce electricty
can someone pls pls help me ?
The Tennessee Valley Authority led to an expansion of A African American voting rights. B wheat production during World War II. C the recall movement in the
Peter, Bridget and Caroline share some sweets in the ratio 2:5:2. Peter gets 14 sweets. How many did Bridget get?
Angle A terminates in the fourth quadrant with cosA= 4/5. The exact value of A is?
Ferrar Corporation has two major business segments-Consumer and Commercial. Data for the segment and for the company for March appear below: In addition, common
how does watc netflix for free?