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

Imagine you have come across sheet music for a song popular in 1914. What cultural era does this artifact represent? Harlem Renaissance Tin Pan Alley Lost Gener
Jason paints 1/4 of the area of his living room walls,w,on Monday. On Tuesday, he paints twice as much as he painted on Monday. Write an expression to fin
what fraction of a century is one year
What is la patente mean in a sentence
Which of the following is the largest ethnic group in China? 1. Han 2. Tibetan 3. Uighurs 4. Hui
1.5 as a mixed number in the simplest form
Which describes the Eastern Woodland Indians? A. depended on buffalo B. lived in wigwams and longhouses C. found ways to farm the desert D. built tall, car
By the 1920s, which of the following groups had achieved most of its goals? Native Americans Women suffragists African Americans labor unions
what is 1 and 1/6 minus 7/12 ?
_+_+_=30 (1,3,5,7,9,11,13,15)