km
Junior Member level 3
I found this C program from internet:-
void d2b(unsigned int x, int *c)
{
int i;
for(i=0;i<=15;i++)
*(c++)=(x>>i) & 0x1;
}
For the bolded line, what does it mean? Can anyone please guide me?
void d2b(unsigned int x, int *c)
{
int i;
for(i=0;i<=15;i++)
*(c++)=(x>>i) & 0x1;
}
For the bolded line, what does it mean? Can anyone please guide me?