I want to understand the syntax of the struct which i have seen some where. Can some please explain the meaning of unsigned int xyz:1;
. Is it just assigning default value to a variable xyz
? BTW this code is in Objective C.
struct
{
unsigned int xyz:1;
} testStruct;