Difference between -> and . in a struct?

前端 未结 7 1992
夕颜
夕颜 2020-12-13 10:09

If I have a struct like

struct account {
   int account_number;
};

Then what\'s the difference between doing

myAccount.acco         


        
7条回答
提交回复
热议问题