Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - About setting the default value of C++ function parameters, the correct one is ().
About setting the default value of C++ function parameters, the correct one is ().
About setting the default value of C++ function parameters, the correct one is ().

A. setting default values of function parameters is not allowed.

B the default values of function parameters can only be set when defining the function.

C. When setting the default values of function parameters, you should set the one on the right first, and then the one on the left.

D. When setting default values of functional parameters, all parameters should be set.

Correct answer: C.