What does the following program do when the input is unsigned 16-bit integer?
#includestudio.h
main( )
{
unsigned int num;
int i;
scanf (“%u”, &num);
for ( i = 0; i16; i++)
{
printf (“%d”, (num i & 1 15 ) ? 1:0);
}
}

Posted on by