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

marc earned $9.37 per hour working in the library .Round his wage to the nearest ten cents. Tell  me how the cookie policy goes.
Without dividing, will the quotient be greater than or less than the dividend when you divide 0.34 by 10? Explain.
3x+4y=-5 direct variation or not
How is hospitality an essential element in everyday life?
0.02 as a mixed number of fraction
Which of the following was an attempt to maintain an equal balance between free states and slave states? the Missouri Compromise the Treaty of Ghent the Alien a
Explain how you can break apart one of the addends to make a ten to find the number of points Jeannie and Kevin scored. Jeannie 245 Kevin 227.
What's the word format and expanded form for 3.4
explain how you decide on the number of zeros in the products 19,340×10 = 19,340×100= 19,340×1000=
how did the Muslims treat conquered peoples?