mjalexander64141 mjalexander64141
  • 14-07-2019
  • Computers and Technology
contestada

When a function uses a mixture of parameters with and without default arguments,

the parameters with default arguments must be defined _________.

Respuesta :

ExieFansler ExieFansler
  • 22-07-2019

Answer: after the required parameters.

Explanation:

Default arguments in a function should be defined after the required parameters because the required parameters are necessary but default arguments are not. If mixed parameters are allowed it will be very hard for the compiler to to judge which value matches which argument so there will be syntax error.

Answer Link

Otras preguntas

pls help due tomorrow!
In the image from the slides they mention words like: Children, strike, immigration, cotton, agriculture, telephone, steam, automobile, textile, emigration/immi
I need help again……..
PLEASE HELP BRO WILL GIVE BRAINLI A student writes an incorrect step while checking if the sum of the measures of the two remote interior angles of triangle ABC
Which equation best represents the relationship between x and y in the graph?
On the vertical axis of the Line chart, define 10 as the Minimum bounds and 75 as the Maximum bounds.
Please please answer the question in the photo! (will mark Brainliest if correct)
Water boils at different temperatures at different elevations. The boiling temperature of water is 212F at sea level​ (0 feet) but drops about 1.72F for every​
any 1 bored. ? ,,,,,,​
How is it 840g plsss help!