C parse error, why?



Sorry to ask this simple question!

I don't do  how ":" works In C program like the following example:

int y:1;                          /*  parse error*/
struct _Test
{
        int x :1;                /* no parse error report*/
}








[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]