You are here:

C/struct packing

Advertisement


Question
Why structure packing is required?
Also, how to access members after packing?

Answer
I have already answered this question.
So, why don't you check my previous answers and you will get the answer to your question.

Regarding 2nd part of your question - Also, how to access members after packing?
It is the same way you do in case there is no packing.

C

All Answers


Answers by Expert:


Ask Experts

Volunteer


Narendra

Expertise

I can answer questions in C related to programming, data structures, pointers and file manipulation. I use Solaris for doing C code and if you have questions related to C programming on Solaris, I will be able to help better.

Experience

6.5

Organizations belong to
Sun Microsystems

Awards and Honors
Brain Bench Certified Expert C programmer.
Advanced System Software Certified

©2012 About.com, a part of The New York Times Company. All rights reserved.