Professional Documents
Culture Documents
Programme on C
Programming
BIT FIELDS
struct tag {
member1;
member2;
.
.
membern;
};
General Syntax:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
word 2 word 1
bit no 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
| d | c | b | a |
word 2 word 1
bit no 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
| c | b | a |
word 2 word 1
bit no 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
| c | b | a |