We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
How do i use the 'malloc' function. Can someone give me an example.. Thanks in advance...
See K&R? But, in embedded applications, it's usually best avoided.
If you dynamically-allocate, it means you'll have to access your dynamic data via pointers. This is probably less efficient than direct addressing - especially for structures!