starlodgb6314 starlodgb6314
  • 19-11-2021
  • Computers and Technology
contestada

Write the function prototype for a void function named getSquare. It should accept a pointer to an integer as an argument.

Respuesta :

adelinerose04 adelinerose04
  • 29-11-2021

Answer:

void getSquare(int*);

Explanation:

The void is because it does not return a value.

Next is the name of the function "getSquare".

Then inside the ( ) you add the data types you want the function to accept, in this case its int*.

Finally you end with a ; because it is a function prototype.

Answer Link

Otras preguntas

To make a music video, Juan plays 2 1/3 video clip 1 1/2 Times. How long is Juans music video?
Which term is the title of a Muslim ruler? a. jihad b. Hijrah c. Sunnis d. caliph
Valerie has 10 Cds In her music case. Seven of the ds are pop music Cds.What is this amount written as a decimal?
John must have at least 289 test points to pass his math class. He already has test scores of 72, 78, and 70. Which inequality will tell him at least how many m
What makes South!, a memoir by Ernest Shackleton, fall under the nonfiction genre?
A solid turning into a gas in a chemical or a physical change?
Last question help thank you
Which one of the following nutrients is not a source of energy for the body? a. Proteins b. Carbohydrates c. Vitamins d. Lipids
Which statement about Shays' Rebellion is false? A. The central government provided troops to quell the rebellion. B. Many among the Massachusetts militi
Factorise: 4x squared - 9y squared