12 lines
314 B
C
12 lines
314 B
C
#include <stdio.h>
|
|
#include <string.h>
|
|
|
|
void main()
|
|
{
|
|
printf( "%d\n", strcmp( "abcdef", "abcdef" ) );
|
|
printf( "%d\n", strcmp( "abcdef", "abc" ) );
|
|
printf( "%d\n", strcmp( "abc", "abcdef" ) );
|
|
printf( "%d\n", strcmp( "abcdef", "mnopqr" ) );
|
|
printf( "%d\n", strcmp( "mnopqr", "abcdef" ) );
|
|
}
|