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

A deer tick measures 29 centimeters in length in a photograph. If the photo has been enlarged by a factor of 100, what is the actual length of the deer tick?
How did the scientific method influence European societies beginning in the 16th century? A. it prevented scientists from copying and repeating one another's wo
What makes up these subatomic particles? What is its definition?
what can you infer about mary shelleys personality based on this this statement? and as it will be confined to such topics as have connection with my authorsh
If the sperm gamete that fertilizes an egg has a(n) ___ cheomosome, it will form female offspring. A.) X B.) Y C.) XY D.) XX
Does George Bernard Shaw have any hobbies? Please Help :c
Why did sherif's participants change their estimates when they had to call out their answers in the presence of other people?
Propose an explanation for why operons evolved in prokaryotes. what advantage do organisms have when they group genes together with a regulatory system?
-7x-8y=-19 slope int
How was the Atlantic slave trade different in the 1400s and 1500s than it was in the 1600s?