Syntax Question

Started by
0 comments, last by I-Shaolin 22 years, 6 months ago
I''m going to just swallow my pride and ask this here. What does the ":4" in the following code do?


typedef struct
{
    unsigned long nFoo:4;
}TWidget;

 
Advertisement
The size of nFoo is specified to be 4 bits.

This topic is closed to new replies.

Advertisement