Login
Remember
Register
Questions
Hot!
Categories
Ask a Question
Ask a Question
What are the specific cases of alignment for 1, 2, 4, and 8 bytes?
0
votes
asked
Sep 25
in
General Knowledge
by
iskralawrence
(
744k
points)
What are the specific cases of alignment for 1, 2, 4, and 8 bytes?
Facebook
Twitter
LinkedIn
Your answer
Your name to display (optional):
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
1
Answer
0
votes
answered
Sep 25
by
iskralawrence
(
744k
points)
Best answer
1 byte: char
no restrictions on address
2 bytes: short
lowest 1 bit of address must be 0
4 bytes: int, float
lowest 2 bits of address must be 00
8 bytes: double, long, pointer
lowest 3 bits of address must be 000
Your comment on this answer:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Welcome to the Answerine , a great place to find, read and share your favorite questions and answers.
Related questions
0
votes
1
answer
there are two pizzas connor ate 1/4 of a pizza,Brandon ate 2/8, tyler ate 3/4, and audrey ate 4/8 of pizza who ate the most of two pizzas
asked
Nov 1
in
General Knowledge
by
monikakim
(
555k
points)
0
votes
1
answer
Give the meaning of the following:1. Vague 2. Cacophony 3. Splendid 4. Dazzling 5. Oblivion 6. Tremendous 7. Cynical 8. Slaughter 9. Cringe 10. Synchronous 11. Delta
asked
Nov 3
in
General Knowledge
by
iskralawrence
(
744k
points)
0
votes
1
answer
Need urgent answer!! Give the meaning of the following Elements: 1. Chromium 2. Boron 3. Fluorine 4. Magnesium 5. Argon 6. Lithium 7. Manganese 8. Americium 9. Plutonium
asked
Nov 3
in
General Knowledge
by
iskralawrence
(
744k
points)
0
votes
1
answer
Which one of the following fractions is equivalent to 1/2? A. 2/8 B. 1/8 C. 1/4 D. 2/4
asked
Nov 1
in
General Knowledge
by
monikakim
(
555k
points)
0
votes
1
answer
Which linear function represents the line given by the point-slope equation y - 8 = 1/2 (x - 4)?
asked
Sep 22
in
General Knowledge
by
iskralawrence
(
744k
points)
which
linear
function
represents
...