struct animal
{
char name[30] ;
int type ;
}
struct animal a = { "OCELOT", 18 } ;
Ans:
18 = (10010)binary
here last four bits represent the type of the animal so and first represent its nutrition method.
0th bit = canine
1st bit = feline
2nd bit = cetacean
3rd bit = marsupial
4th bit = Herbivorous or carnivorous.
This is an "herbivorous" animal of "feline" family.