Home > Back-end >  C function value
C function value

Time:01-30

C + + function value is not copy the value of the argument passed to the parameter, if the argument is an expression, should not pass parameters, the expression of the result why the expression to the parameters directly to the

CodePudding user response:

A=x + y
B=z -

CodePudding user response:

You understand the expression and the expression of the results?
R=fun (- (x + y), z);
Compiler will calculate the result of x + y, pass a parameter, as a result, to calculate the z - parameter b
Is not the whole expression to the function (just) passed the calculating expression of

CodePudding user response:

There is nothing wrong with 21=13 + 8

CodePudding user response:

What do you mean, what is the expression is passed to the parameter

CodePudding user response:

Don't know what you want to express, is highly recommended to strengthen the language expression ability!!!!!!

CodePudding user response:

https://zh.cppreference.com/w/cpp/language/operator_incdec


Interpret
Before the increase with the increase or decrease the decrement operator before the value of the object, and return to the results of reference,

Since increased with the reduction after creating a copy of the object, to increase or decrease the value of the object, and returns the increase or decrease the copy of the former,

CodePudding user response:

I don't understand how? Others also don't understand


refer to the second floor qybao response:
you understand expression and the expression of the results?
R=fun (- (x + y), z);
Compiler will calculate the result of x + y, pass a parameter, as a result, to calculate the z - parameter b
Is not the whole expression to the function (just) passed the calculating expression of


The
reference 3 floor github_37127447 response:
there is nothing wrong with 21=13 + 8 o


reference 4 floor flying_music response:
what do you mean, what call gave parameter expression


reference 5 floor qq_33487700 reply:
don't know what you want to express, is highly recommended to strengthen the language expression ability!!!!!!


I also feel ok?
  • Related