Discussion
The width of a record type is computed during declaration processing by
Answer: A
Correct answer: summing the widths of its fields with any alignment padding
The width is the total the fields occupy, including any padding inserted so that each field begins at an address its type requires. That padding is why a record can be wider than the sum of its fields, and why reordering fields can change the size of a structure without changing its contents.
No comment is present. Be the first to comment.
Loading…
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development