Home > Back-end >  "C and pointer", point the operator describing contradictions
"C and pointer", point the operator describing contradictions

Time:11-30

P81 table midpoint operator in the book of the left operand to the left value



Whereas P201 described in the book said * p value, namely x (x) Can be used as a point of the operator of the left operand


I don't think I understand the wrong, write very understand,
Q: point of operator of the left operand is left or right value?

CodePudding user response:

Dot operator left operand can be left values can also be a right value
Struct Foo {
Int foo.
};
Foo bar () {
//...
Return Foo ();
}
Bar (). The foo;//rvalue
  • Related