Level 69 Level 71
Level 70

[Quiz] Bit Fields

10 words 0 ignored

Ready to learn       Ready to review

Ignore words

Check the boxes below to ignore/unignore words, then click save at the bottom. Ignored words will never appear in any learning session.

All None

struct pointer access
struct value access
[ ]
Array index
Size in bytes
Bitwise and
Operador aritmÚtico multiplicar
Get Bit
bit = (val >> i) & 1
Set Bit 1
bit |= 1 << i
Set Bit 0
bit &= ~(1 << i)
The operator we want to introduce now is distinguished by its appearance. The new operator looks like a variable. Don't be misled: this is a unary prefix operator and with the highest possible priority. Prov…