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

help ASAP due on Thursday. marking brainliest!!
Beta LLC has decided to change its promotion and pay policies for technical people who do not wish to become managers. This will allow it to better attract and
What is 2 + 2 = ? ( If you can answer this question, go answer my 50 point worth question too.)
Let x be the ages of students in a class. Given the frequency distribution f(x) above, determine the following probabilities:.
Fill in the blanks below with the correct units.
Who was the first woman to be appointed ceo of a fortune 500 company.
Pls help asap important assessment
People who view their identity as a part of a group represent the idea of __________. A. Self-enhancing societies B. Collectivism C. Individualism D. Self-susta
Using the diagram below, find CB in decimal form.
Discuss three financial option school leavers may consider to pay for tertiary education