Hi All,
My question is how You guys prefer to call structure body from function (in embedded systems)?
What's the different in :Code:Ex1. STR NewStr; . . fun1(&NewStr) . . void fun1(STR *Ptr) { . . Ptr->some_variable; . . } Ex2. STR NewStr; . . fun1() . . void fun1() { . . Ptr.some_variable; . . }
- address stuff
- speed