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

find the distance between A and B. A(12,-1) B(0,-6)
What is the period of the function y=3/2cot(3/5x)+5
which one of the following phrases indicates that a contrast is being made
"A window washer pulls herself upward using the bucket-pulley apparatus. The mass of the person plus the bucket is 65 kg. (a) How hard must she pull downward t
What must writers do when using language taken directly from an outside source? Check all that apply.restate the text or main idea in their own wordsuse quotati
Who is the curve for inventing the first structure of DNA
Solve the system of equations. x + 3y = −1 2x + 2y = 6 (−4, 1) (2, −1) (4, −1) (5, −2)
is it true the energy used for metabolic processes reduces the efficiency of secondary productivity
Which of these types of rock can melt under the right conditions?
find the average 89,40,18