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

Consider the inequality 3≤ 1/3 +x.
Solve 3x2 + 6x + 15 = 0
PLEASE HELP, 50 POINTS!!! THIS MAKES NO SENSEIdentify the parts of the pyramid.Blank: Surface Area of the Pyramid. Blank: Vertex of the Pyramid.
How do the central nervous system and the peripheral nervous system work together to control the body?a. the direction that information flows to and from the br
An instructor is teaching a student about the proper use of a stethoscope. The instructor determines the need for additional teaching when the student states wh
How do you keep your pants up?
Can someone help me with this plssss it will help alot :) (IM GIVING 95 POINTS)
Which word is related to the feeling of kindness and empathy?a) Composureb) Complicationc) Compassiond) Confrontation
Can someone help me with this plssss it will help alot :) (IM GIVING 95 POINTS)
what’s the vertical angle