请教C问题# JobHunting - 待字闺中
r*u
1 楼
int test( int x )
{
return ((x - 1) & x) == 0;
}
a. What might the above function be useful for?
b. Comment on its portability.
Please comment on its portability!
{
return ((x - 1) & x) == 0;
}
a. What might the above function be useful for?
b. Comment on its portability.
Please comment on its portability!