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

What supreme court justice's name is incorporated into the name of baltimore's airport?
how is the sentence 15 more than x is 5 written as an equation
You would anticipate that an infant patient will communicate almost exclusively​ through:
Mark is a famous syndicated radio personality for talkradio. he has a distinctive voice and manner of speaking. moretalk hires gordon, who sounds nearly identic
Algebraic expression of The product of 8 and z plus the product of 6.5 and y
Which of the following was a belief of the black nationalists? A.That African Americans should build separate communities and businesses B.That electing the rig
What two numbers have 2,3,5 as factors
Michael plays 1/5 of a song in 1/15 pf a minute. How many minutes will it take to play whole song
What country has the coordinates 40 degrees north and 100 degrees east
Some organisms obtain their energy from preexisting chemical compounds and get their carbon from the atmosphere is what?