What is structure padding.Describe briefly?

What is structure padding.Describe briefly?

structure padding use for avoid the problems , We can use __attribute__((  xxxx  )).Structure padding occurs because the  structure members  must appear at the correect byte boundary, to achieve this the compiler puts in padding bytes so that the structure members appear in the correct location.

By:UMANG
Date:2001-01-09 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related C Subjective Links

C Subjective interview questions and answers for experienced and fresher