Memory location of global and local structs

前端 未结 0 1872
余生分开走
余生分开走 2021-01-07 05:47

In the following code where I create a struct locally (within main) and then globally (outside main):

Car new = {.name="New Car"};
CarPtr newer = &a         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题