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
why wipro wase
What is c variable?
Can you mix old-style and new-style function syntax?
Why is #define used?
In C, What is the #line used for?
what do you mean by enumeration constant?
What is the scope of an external variable in c?
When should a type cast be used?
What is the difference between void main and main in c?
What is the difference between exit() and _exit() function?
What is int main () in c?
What are runtime error?
write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34
What is the difference between fread buffer() and fwrite buffer()?
Is c is a low level language?