How to avoid structure padding in C?
Answer Posted / akshay singh
i think for avoid structure padding you use only the #pragma pack(1) its sufficient for structure padding
i am not sure about windows application this concept i used in linux or unix
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can an array be an Ivalue?
What is a c token and types of c tokens?
What is a protocol in c?
Can a program have two main functions?
Why isnt any of this standardized in c?
How can I invoke another program (a standalone executable, or an operating system command) from within a c program?
What does & mean in scanf?
what will be maximum number of comparisons when number of elements are given?
How many levels of pointers have?
what is the syallabus of computer science students in group- 1?
How can I trap or ignore keyboard interrupts like control-c?
What could possibly be the problem if a valid function name such as tolower() is being reported by the C compiler as undefined?
What are the application of c?
What is the function of volatile in c language?
Explain what are multibyte characters?