answersLogoWhite

0


Best Answer

structure padding matters most when alingnment matters, which helps in potential performance gain and avoiding possible bus errors, please refer

http://www.refcode.net/2013/02/structure-padding-explained.html

for detailed explanation

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why need a structure padding in structure?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Why need a structure padding in c?

to satisfy structre member alignment rules structure padding needed when alignment matters, which is useful for performance and avoids potential bus errors when alignment is a must on a particular architecture, please refer http://www.refcode.net/2013/02/structure-padding-explained.html for detailed explanation


Does wood need to be on top of padding?

no it has to be under it


How to overcome structure padding?

I think we can use #pragma pack(1) By this the structure will he paked in 1 byte order so there will be no waste of memory .


Is there a population chart that shows fity years of population in New York?

{| ! style="PADDING-RIGHT: 1px; PADDING-: 1px; PADDING-BOTTOM: 1px; PADDING-TOP: 1px" | 1950 | 7,891,957 ! style="PADDING-RIGHT: 1px; PADDING-: 1px; PADDING-BOTTOM: 1px; PADDING-TOP: 1px; BORDER-BOTTOM: #bbbbbb 1px solid" | 1960 | 7,781,984 ! style="PADDING-RIGHT: 1px; PADDING-: 1px; PADDING-BOTTOM: 1px; PADDING-TOP: 1px" | 1970 | 7,894,862 ! style="PADDING-RIGHT: 1px; PADDING-: 1px; PADDING-BOTTOM: 1px; PADDING-TOP: 1px" | 1980 | 7,071,639 ! style="PADDING-RIGHT: 1px; PADDING-: 1px; PADDING-BOTTOM: 1px; PADDING-TOP: 1px" | 1990 | 7,322,564 ! style="PADDING-RIGHT: 1px; PADDING-: 1px; PADDING-BOTTOM: 1px; PADDING-TOP: 1px" | 2000 | 8,008,288 |}


Does wood flooring need padding?

no because I have it in my basement its fine without it.


What are the benefits of fats?

of the top of my head- protection (by providing padding when injured)- thermoregulation (particularly in babies)- storage (of energy)- cholesterol specifically is involved in maintaining the structure of the structure of the phospholipid bylayer.


Can Superman turn into a super nova?

It is not one of his powers but briefly in an issue when he was depowered, Superman wore a powersuit and was called Supernova. {| id="ezSearchBarTABLE" class="ezui-corner-all" style="background-color: #ffe; border: 2px solid #555; padding: 1px; z-index: 9999999; display: block; vertical-align: bottom" |- style="padding: 0" | style="padding: 0; padding-right: 2px" | | style="padding: 0; padding-right: 2px" | | style="padding: 0; padding-right: 0px" | |- style="padding: 0" | style="padding: 0; padding-right: 2px" | | style="padding: 0; padding-right: 4px" | | style="padding: 0; padding-right: 0px" | |- style="padding: 0" | style="padding: 0; padding-right: 2px" | | style="padding: 0; padding-right: 2px" | | style="padding: 0; padding-right: 0px" | |} +1[[#|close]] [[#|close]][[#|pin]][[#|pin]][[#|search]][[#|minimize]][[#|forward]][[#|back]][[#|ViewText]][[#|]][[#|]][[#|zoomout]][[#|zoomin]][[#|zoomin]] {| id="ezSearchBar" style="border: 0; display: none; vertical-align: bottom; padding-bottom: 2px" | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | |}


Where can you download Issue?

If you mean comics issues, you can buy a subscription to dc comics and have them available for digital download. {| id="ezSearchBarTABLE" class="ezui-corner-all" style="background-color: #ffe; border: 2px solid #555; padding: 1px; z-index: 9999999; display: block; vertical-align: bottom" |- style="padding: 0" | style="padding: 0; padding-right: 2px" | | style="padding: 0; padding-right: 2px" | | style="padding: 0; padding-right: 0px" | |- style="padding: 0" | style="padding: 0; padding-right: 2px" | | style="padding: 0; padding-right: 4px" | | style="padding: 0; padding-right: 0px" | |- style="padding: 0" | style="padding: 0; padding-right: 2px" | | style="padding: 0; padding-right: 2px" | | style="padding: 0; padding-right: 0px" | |} +1[[#|close]] [[#|close]][[#|pin]][[#|pin]][[#|search]][[#|minimize]][[#|forward]][[#|back]][[#|ViewText]][[#|]][[#|]][[#|zoomout]][[#|zoomin]][[#|zoomin]] {| id="ezSearchBar" style="border: 0; display: none; vertical-align: bottom; padding-bottom: 2px" | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | |}


Who was Oliver Daddy Warbucks?

He was a character in the comicstrip Little Orphan Annie.{| id="ezSearchBarTABLE" class="ezui-corner-all" style="background-color: #ffe; border: 2px solid #555; padding: 1px; z-index: 9999999; display: block; vertical-align: bottom" |- style="padding: 0" | style="padding: 0; padding-right: 2px" | | style="padding: 0; padding-right: 2px" | | style="padding: 0; padding-right: 0px" | |- style="padding: 0" | style="padding: 0; padding-right: 2px" | | style="padding: 0; padding-right: 4px" | | style="padding: 0; padding-right: 0px" | |- style="padding: 0" | style="padding: 0; padding-right: 2px" | | style="padding: 0; padding-right: 2px" | | style="padding: 0; padding-right: 0px" | |}+1[[#|close]][[#|close]][[#|pin]][[#|pin]][[#|search]][[#|minimize]][[#|forward]][[#|back]][[#|ViewText]][[#|]][[#|]][[#|zoomout]][[#|zoomin]][[#|zoomin]]{| id="ezSearchBar" style="border: 0; display: none; vertical-align: bottom; padding-bottom: 2px" | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | |}


What are the main Batman villain's ethnic backrounds?

Most of them do not have confirmed or canon background stories. Bane is of British and Hispanic descent, his mother was from South America, and his father, King Snake, was British. {| id="ezSearchBarTABLE" class="ezui-corner-all" style="background-color: #ffe; border: 2px solid #555; padding: 1px; z-index: 9999999; display: block; vertical-align: bottom" |- style="padding: 0" | style="padding: 0; padding-right: 2px" | | style="padding: 0; padding-right: 2px" | | style="padding: 0; padding-right: 0px" | |- style="padding: 0" | style="padding: 0; padding-right: 2px" | | style="padding: 0; padding-right: 4px" | | style="padding: 0; padding-right: 0px" | |- style="padding: 0" | style="padding: 0; padding-right: 2px" | | style="padding: 0; padding-right: 2px" | | style="padding: 0; padding-right: 0px" | |} +1[[#|close]] [[#|close]][[#|pin]][[#|pin]][[#|search]][[#|minimize]][[#|forward]][[#|back]][[#|ViewText]][[#|]][[#|]][[#|zoomout]][[#|zoomin]][[#|zoomin]] {| id="ezSearchBar" style="border: 0; display: none; vertical-align: bottom; padding-bottom: 2px" | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | |} Joker: Nothing confirmed Penguin: Same as joker but in a couple incarnations and games, he was British Two-Face: American Bane: Most likely of South-American descent {| id="ezSearchBarTABLE" class="ezui-corner-all" style="background-color: #ffe; border: 2px solid #555; padding: 1px; z-index: 9999999; display: block; vertical-align: bottom" |- style="padding: 0" | style="padding: 0; padding-right: 2px" | | style="padding: 0; padding-right: 2px" | | style="padding: 0; padding-right: 0px" | |- style="padding: 0" | style="padding: 0; padding-right: 2px" | | style="padding: 0; padding-right: 4px" | | style="padding: 0; padding-right: 0px" | |- style="padding: 0" | style="padding: 0; padding-right: 2px" | | style="padding: 0; padding-right: 2px" | | style="padding: 0; padding-right: 0px" | |} +1[[#|close]] [[#|close]][[#|pin]][[#|pin]][[#|search]][[#|minimize]][[#|forward]][[#|back]][[#|ViewText]][[#|]][[#|]][[#|zoomout]][[#|zoomin]][[#|zoomin]] {| id="ezSearchBar" style="border: 0; display: none; vertical-align: bottom; padding-bottom: 2px" | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | |}


What equipment do you need to skate?

ice skates...butt padding (I know from expierience)


Who is more famous Incredible Hulk or LeBron James?

Thats an objective question, Hulk is better know to people who read comics, LeBron James is known to sports fans. Both of them have been featured outside their spheres of influence. {| id="ezSearchBarTABLE" class="ezui-corner-all" style="background-color: #ffe; border: 2px solid #555; padding: 1px; z-index: 9999999; display: block; vertical-align: bottom" |- style="padding: 0" | style="padding: 0; padding-right: 2px" | | style="padding: 0; padding-right: 2px" | | style="padding: 0; padding-right: 0px" | |- style="padding: 0" | style="padding: 0; padding-right: 2px" | | style="padding: 0; padding-right: 4px" | | style="padding: 0; padding-right: 0px" | |- style="padding: 0" | style="padding: 0; padding-right: 2px" | | style="padding: 0; padding-right: 2px" | | style="padding: 0; padding-right: 0px" | |} +1[[#|close]] [[#|close]][[#|pin]][[#|pin]][[#|search]][[#|minimize]][[#|forward]][[#|back]][[#|ViewText]][[#|]][[#|]][[#|zoomout]][[#|zoomin]][[#|zoomin]] {| id="ezSearchBar" style="border: 0; display: none; vertical-align: bottom; padding-bottom: 2px" | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | | style="padding-right: 4px" | |}