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

What is a similarity between alcohol fermentation and aerobic respiration
Why is it important to find a balance between exercise and daily life? a.It's the best way to juggle life's many demands. b.Otherwise, exercise might be sacri
need help with this probelm pls
I think it’s D, but what is the answer ?
Which produces an ionic bond? A. Making neutrally charged atoms B. Sharing valence electrons C. Forming large molecules D. Creating an electrostat
A species of fish that eats all of the plants in the lake where it was introduced is an example of a(n) _____. A. keystone species B. native species C.
Paddy and Clare are writing effective conclusions. Paddy's conclusion will summarize his main point and reaffirm his theses statement. Clare's conclusion will
What is the name for the study of the frequencies of alleles in populations? A. Population genetics B. Population dynamics C. Population growth D. P
the area of the rectangle is 54 M squared and the length of the rectangle is 3 meters more than twice the width. what is the length and the width?
PLEASE HELP ME [99 POINTS]