This repository has been archived on 2024-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
CodeBlocksPortable/WATCOM/samples/clibexam/ffs.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 );
}