struct init question

K

Kaspar Minosiants

Hi !

struct A {

int a : 1;
int b : 2;
char c : 3;
};

Could anybody explain what numbers do with filds of the struct ?

Thanks a lot.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,141
Messages
2,570,814
Members
47,359
Latest member
Claim Bitcoin Earnings. $

Latest Threads

Top