KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
If I have a struct like struct account { int account_number; }; Then what's the difference between doing myAccount.account_number; and myAccount->account_number; or isn't there a difference? If there's no difference, why wouldn't you just use the . notation rather than -> ? -> seems so messy.
Tags (comma-separated)
Save Edits
Cancel