12 lines
212 B
C
12 lines
212 B
C
#include <stdio.h>
|
|
#include <strings.h>
|
|
|
|
int main( void )
|
|
{
|
|
printf( "%d\n", ffs( 0 ) );
|
|
printf( "%d\n", ffs( 16 ) );
|
|
printf( "%d\n", ffs( 127 ) );
|
|
printf( "%d\n", ffs( -16 ) );
|
|
return( 0 );
|
|
}
|