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

"o, thou foul thief, where hast thou stowed my daughter?" (1.2.80-81) who said it? your answer
Who knows what 4p-p+6x2 is?
What is the distance in km between two cities that are 7.5 cm apart
Pleaseeeeeeeee please help me i can’t get anything wrong save me please
What is the definition of the science of human development?
Which expression is NOT equivalent to the expression shown?
The brain volumes ​(cm cubedcm3​) of 50 brains vary from a low of 922922 cm cubedcm3 to a high of 14961496 cm cubedcm3. use the range rule of thumb to estimate
A Web music store offers two versions of a popular song. The size of the standard version is 2.5 megabytes (MB). The size of the high-quality version is 4.5
The tree frog population in your back yard doubles every two weeks. Currently, there are 10 frogs in your back yard. Assuming that there are 4 weeks in a month
Which electromagnetic waves have the shortest wavelength and the highest frequency?