Home > Back-end >  When declaring a structure pointer, whether to create a temporary structure, the pointer points to t
When declaring a structure pointer, whether to create a temporary structure, the pointer points to t

Time:09-28

In the figure the pt should not be wild pointer? You can return a structure like this?

CodePudding user response:

Your understanding is right, pt is wild pointer, code has a problem,
  • Related