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

What is the unit rate if there are 258 purple polka-dot pencils in 3 purple polka-dot purses?
The Soviet Unions state controlled economy was planned for in a block of this number of years under Josef Stalin. a. three c. seven b. five d. ten
what is 5/7 times 8/9
How many 1/4s are in 25/4
Which is a positive balance of trade for a country? importing goods and exporting services importing raw materials and exporting goods importing more goods
What is the opposite of 4.25
Is a telegram considered a primary source
What is 572 rounded to the nearest hundred
How might several countries all described as federations differ in practice? Some may have smaller units of government like states or provinces while others do
What methods did political machines use to build support in the late 1800s?