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

factoris fully 2ab² + 8a²b​
In which function is x = 2 mapped to 32?
If f(x) = 3x + 10 and g(x) = 2x - 4, find (f- g)(x).
The integrating center for the negative feedback loop that regulates body temperature is the.
Select the graph that represents two quantities in a proportional relationship
A comparson of two or more quantities of the same kind is called a
What kind of map is this an example of? 1: Climate Map 2: Physical Map 3: Topographic Map 4: Political map
Which statements best describe differences in the style of the two works? The painting pays attention to details of Kahlo’s physical appearance, while the poem
Why did Indians of the southwest culture group developed Irragation techniques Deans of the Columbia plateau Group did not
Which API gives higher performance and low graphics? OpenGL? Vulkan? Direct3D11? Metal? pls suggest your answer