13 lines
261 B
C
13 lines
261 B
C
|
// This is test program for strcmp function from string.h
|
||
|
|
||
|
#include <string.h>
|
||
|
#include <stdio.h>
|
||
|
|
||
|
int main() {
|
||
|
char s1[] = "This is test string";
|
||
|
char s2[] = "This is second test string";
|
||
|
put_int(strcmp(s1, s2));
|
||
|
put_int(strcmp(s2, s1));
|
||
|
return 0;
|
||
|
}
|