Home > other >  Would you please tell me why below in the terminal address front also added a & symbol?
Would you please tell me why below in the terminal address front also added a & symbol?

Time:10-04

CodePudding user response:

Output structure pointer is so

CodePudding user response:

& {} said structure pointer, in front of the simple structure without & amp;
What is inside the {} is a member of the structure information, members of the File structure is not defined, so the inside information is its memory address

CodePudding user response:

refer to the second floor qybao response:
& amp; {} said structure pointer, in front of the simple structure without & amp;
What is inside the {} is a member of the structure information, members of the File structure is not defined, so the inside information is its memory address

Ok, I see, thank you ~

CodePudding user response:

1/f, reference and 蘤 old crepe response:
structure pointer is so output

I see, thank you very much ~????????
  • Related